URL Encoder / Decoder
Encode full URLs, path segments or query parameters safely — right in your browser.
Shortcuts: Ctrl/Cmd + Enter = Encode · Shift + Enter = Decode
About this URL Encoder / Decoder
This free URL encoder/decoder helps developers and SEO folks safely percent-encode or decode
full URLs, path segments and query parameters. It runs entirely in your browser (privacy-first)
and uses the same logic as encodeURI / encodeURIComponent.
How to use
- Pick a Mode: Full URL, Path segment or Query param.
- Encode to convert unsafe characters to
%hex form (e.g., space →%20). - Decode to reverse encoding. Use “Treat
+as space” for form-style query strings. - Use Swap to move output back to input for continued editing.
Common mistakes
- Double-encoding:
%20becoming%2520. Decode once before re-encoding. - Using
+in paths: Browsers treat+literally in paths. Use%20for spaces. - Encoding whole URL with the wrong function: Prefer
encodeURIfor full URLs andencodeURIComponentfor parts. - Forgetting Unicode: Always encode non-ASCII characters in paths and query values.
What’s the difference between the modes?
Full URL uses encodeURI (keeps :/?#&=). Path and Query use encodeURIComponent (encodes most non-alphanumerics).
Why does decoding sometimes fail?
Malformed sequences like %GZ throw errors. Enable Safe decode to try a best-effort fallback.
Do you store my data?
No. All processing is local in your browser. Optional draft saving uses your device’s localStorage.
Last updated: December 6, 2025