🔗

URL Encoder / Decoder

Encode special characters in URLs or decode percent-encoded strings.

🔗 Encode / Decode URL

Result will appear here...

URL Encoder & Decoder — Free Online Tool

Encode URLs to make them safe for use in web requests, or decode encoded URLs back to readable form — instantly, for free. Our URL Encoder & Decoder converts special characters like spaces, &, ?, #, and non-ASCII characters into percent-encoded format required by web standards. URLs can only contain a limited set of ASCII...

Click to expand...

Encode URLs to make them safe for use in web requests, or decode encoded URLs back to readable form — instantly, for free. Our URL Encoder & Decoder converts special characters like spaces, &, ?, #, and non-ASCII characters into percent-encoded format required by web standards.

URLs can only contain a limited set of ASCII characters. Spaces, special symbols, and non-English characters must be encoded (e.g., a space becomes %20) before being used in URLs. URL encoding is fundamental to web development, API integrations, link building, and working with query strings.

Why URL Encoding is Important

  • API requests: Query parameters with special characters must be encoded to work correctly
  • Link building: URLs containing spaces or special characters must be encoded for sharing
  • Form data: Form submissions encode special characters automatically — this tool helps you verify
  • Debugging: Decode encoded URLs to understand what parameters are being passed

How to Encode/Decode a URL — Step by Step

  1. Choose mode: Select "Encode" or "Decode" mode.
  2. Paste your URL: Enter the full URL or just the text you need encoded/decoded.
  3. Process: Click "Encode" or "Decode" — the result appears instantly.
  4. Copy result: Click "Copy" to copy the encoded or decoded URL.
  5. Verify: Double check the output is exactly what you need before using it.

❓ Frequently Asked Questions

What characters get encoded?

Spaces, &, ?, #, %, +, =, @, !, ~, and non-ASCII characters are encoded. Letters, digits, hyphens, underscores, periods, and tildes are left as-is.

What is the difference between encodeURI and encodeURIComponent?

encodeURI encodes a full URL, preserving characters like / and ?. encodeURIComponent encodes a single parameter value, encoding / and ? as well. The tool uses encodeURIComponent by default for maximum safety.

Why does a space become %20 or +?

Both %20 and + represent spaces in URLs. %20 is standard percent-encoding; + is used in application/x-www-form-urlencoded form data.

Can I decode a full URL?

Yes — paste any encoded URL and click decode to see the human-readable version with all special characters restored.

Is this tool free?

Yes, 100% free with no account required.

Is my data private?

All processing happens in your browser. No URLs are ever sent to any server.

🔗 Related Tools