T-07 · Developer tools
URL Encoder and Decoder
Percent-encode or decode URLs and query strings. Choose between encoding a component or a whole URL.
- Runs in your browser
- Nothing uploaded
- No account
About this instrument
What it does
Encode special characters as %XX sequences or decode them back. “Component” mode (encodeURIComponent) escapes everything except letters, digits and - _ . ! ~ * ' ( ); “Full URL” mode (encodeURI) keeps URL structure characters such as : / ? & = #.
How to use it
- Choose Encode or Decode.
- For encoding, pick Component for a single parameter value or Full URL for a whole address.
- Paste your text and copy the result.
FAQ
Common questions.
01Which mode should I use for a query parameter value?
Component. It escapes & = ? / # so the value cannot break the URL.
02Why is a space %20 here but + elsewhere?
%20 is valid everywhere in a URL; + means space only in form-encoded query strings.
Related instruments
- T-06Base64 Encode / DecodeEncode text to Base64 or decode Base64 back to text, with full UTF-8 support and a URL-safe option. Private and instant.Local
- T-11Regex TesterTest JavaScript regular expressions against sample text with live matches, capture groups and flags. Protected against runaway patterns.Local
- T-05JSON FormatterFormat, validate and minify JSON with clear error messages that point to the line and column. Runs entirely in your browser.Local