URL encode & decode
Escape or unescape URLs and query parameters instantly — component or full-URL, all in your browser.
Encode a URL in 3 simple steps
Pick encode or decode
Choose Encode to escape text, or Decode to turn %-escapes back into readable characters.
Choose component or full-URL
Use component mode for a single ?key=value, or full-URL mode for a complete link.
Paste and copy
Drop in your text, then copy the safely encoded or decoded result with one click.
Why use this URL encoder
Two encoding modes
Component (encodeURIComponent) for single values, full-URL (encodeURI) for complete addresses.
100% private
Encoding and decoding run entirely in your browser, so your URLs and data stay on your device.
Fix double-encoding
Decode messy %2520-style links twice to recover the original spaces and characters.
Built for query strings
Safely escape spaces, &, ?, # and non-English characters before dropping them into a link.
Inspect tracking links
Decode UTM, OAuth redirect and analytics URLs to see exactly what they contain.
Free & unlimited
No sign-up, no limits — works offline once the page has loaded.
Encode and decode URLs correctly
Links break when they contain spaces, ampersands, question marks or non-English characters. URL encoding replaces those with safe %-escapes so the address survives being shared, stored or passed as a parameter. This tool offers both modes: component encoding for a single query value, and full-URL encoding for a complete address.
Paste a messy, half-encoded link and decode it to read it, or encode a value before dropping it into a query string. Everything happens locally in your browser — nothing is uploaded.
How to use it
Pick Encode or Decode, choose component or full-URL mode, paste your text, and copy the result. Use component mode when you are building a single ?key=value pair from user input, and full-URL mode when you just want to clean up a complete link for sharing. Decoding turns %-escapes back into readable characters so you can inspect exactly what a tracking link or redirect actually contains.
Where URL encoding matters
Search queries, UTM tracking parameters, OAuth redirect URIs, API endpoints and analytics links all rely on correct percent-encoding to survive intact. If you are also assembling payloads or tokens, the Base64 encoder/decoder and JSON formatter are handy companions, and the full set lives on the developer tools page.