URL Encoder / Decoder
Encode and decode URL components.Runs in this tab.⌘ ↵ runs it
Next step
AtriumKitFrom the team behind browserutils
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeAbout URL Encoder / Decoder
Free online URL encoder and decoder. Percent-encode special characters for URLs or decode encoded URL strings. It runs in your browser. Nothing is sent to a server.
Questions
What is URL encoding?
URL encoding (percent encoding) replaces special characters with a % sign followed by their hex value, making strings safe to include in URLs.
Which characters need to be URL encoded?
Characters like spaces, &, =, ?, #, +, and non-ASCII characters must be encoded. Letters, digits, hyphens, underscores, periods, and tildes are safe and do not need encoding.
What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URI but preserves characters like : / ? # that are part of URL structure. encodeURIComponent encodes everything except letters, digits, and a few symbols, making it suitable for query parameter values.
Can I use this to fix broken URLs?
Yes, if a URL has unencoded special characters causing errors, paste it here to properly encode the problematic characters while keeping the URL structure intact.
How do I URL encode a query string with spaces?
Spaces in URLs should be encoded as %20 (or + in form data). Paste your text and the tool will replace spaces and other unsafe characters with their percent-encoded equivalents.
Does URL encoding run in my browser?
Yes, encoding and decoding happen entirely in your browser. No data is sent to a server, so it is safe to use with API keys and other sensitive URL parameters.
Comments
More in Encoding & Decoding
- Base64 Encoder / Decoder
- HTML Entity Encoder / Decoder
- JWT Decoder
- Base32 Encoder / Decoder
- ROT13 Encoder / Decoder
- Morse Code Translator
- Binary to Text Converter
- Hex to Text Converter
Comments