URL Encoder / Decoder

Convert text to URL-safe percent-encoded format, or decode encoded URLs back to readable text. Supports component encoding (encodeURIComponent) and full URL mode. Pro: batch-encode multiple URLs at once.

0 characters
Enter text above to URL-encode it.
All processing runs in your browser — nothing is sent to any server.
Common encodings
%20
@%40
&%26
=%3D
#%23
+%2B
/%2F
?%3F

Batch Encode

Pro

Encode multiple URLs at once — one per line. Available with Pro.

Unlock with Pro →

Frequently Asked Questions

What is URL encoding and why is it needed?

URL encoding (percent-encoding) converts special characters like spaces, &, =, and / into a format safe for URLs using %XX notation. For example, a space becomes %20. It's needed because URLs can only contain certain ASCII characters — without encoding, special characters break the URL structure.

What is the difference between encodeURI and encodeURIComponent?

encodeURI encodes a full URL but preserves characters that have meaning in URLs (like /, ?, #, &). encodeURIComponent encodes everything except letters, digits, and - _ . ~ — use it for encoding query parameter values where you want to escape all special characters.

How do I decode a URL-encoded string?

Paste the encoded string (containing %20, %3D, etc.) into the decoder field. The tool converts all percent-encoded sequences back to their original characters. In JavaScript, use decodeURIComponent() for the same operation.

What does %20 mean in a URL?

%20 is the URL-encoded form of a space character. Other common encodings: %2F is /, %3D is =, %26 is &, %3F is ?, and %23 is #. The format is always % followed by two hexadecimal digits representing the ASCII code.

Share this tool: X / Twitter LinkedIn

Related Products

on Gumroad

More Free Tools

Get weekly developer tips

Tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →