How to use it
- Enter plain text and choose Encode to create a URL-safe component.
- Paste percent-encoded text and choose Decode to restore it.
- Copy the result when it is ready or clear both fields to start again.
Search by tool name or category.
No tools found.
Encode and decode URL component text without sending data to a server.
URL encoding replaces characters that have special meaning in a URL component with percent-encoded values. Decoding converts those values back to readable text.
Encoding uses encodeURIComponent and decoding uses decodeURIComponent. These browser functions preserve Unicode text and escape characters that could otherwise change URL query or path syntax.
Use it for individual query values, path segments or other URL components. It is not intended to encode an entire URL because separators such as colon, slash and question mark have structural meaning.
Encoding the query value coffee & tea produces coffee%20%26%20tea, which can be safely inserted as one URL parameter value.