Developer and data
URL Encoder / Decoder
Encode text for URLs and decode percent-encoded strings locally in your browser.
Result
Karu%20Tools%20URL%20sampleFeatures of the URL Encoder / Decoder
Convert text that contains spaces, symbols, Japanese characters, or other non-ASCII characters into URL-safe percent encoding. You can also decode percent-encoded strings to inspect query parameter values and copied URL fragments.
Open detailed notes
What URL encoding means
URL encoding converts characters that are difficult to place directly in a URL, such as spaces, symbols, and non-ASCII text, into percent-encoded strings. It is commonly used for query parameter values and URL fragments.
What URL decoding means
URL decoding converts percent-encoded text such as %E3%81%82 or %20 back into readable text. It helps when checking shared URLs, logs, redirects, and analytics parameters.
Notes for developers
- This tool is closest to
encodeURIComponentuse cases and is best for encoding parts of a URL, not a full URL. - Spaces are encoded as
%20, not+. - When building a full URL, avoid encoding separators such as
?,&,=, and/together with the parameter value. - Encoding and decoding run in the browser without sending your input to a server.
Frequently asked questions
Is the input saved?
No. Encoding and decoding run locally in your browser, and the input is not sent to a server.
How are spaces encoded?
This tool follows encodeURIComponent behavior and converts spaces to %20.
Can I paste a whole URL?
You can, but the tool is most useful when encoding or decoding parts of a URL, such as query parameter values.