URL Encoder & Decoder
Safely encode or decode URL text and query parameters directly in your browser.
How URL encoding and decoding works
Paste your text or URL
Add plain text, a query parameter, or an already-encoded URL string.
Encode or decode
Encode converts special and reserved characters into percent-encoded form, such as turning a space into %20. Decode reverses percent-encoded text back to plain text.
Copy the result
Copy the output for use in a URL, query string or API request.
Frequently asked questions
What does URL encoding actually do?
It converts characters that aren't safe in a URL — like spaces, ampersands and slashes — into a percent-encoded form so the URL is transmitted correctly.
Why does decoding sometimes show an error?
Decoding fails if the input contains a percent sign that isn't followed by a valid two-digit hex code, since that isn't valid percent-encoded text.
Is my text sent to a server?
No. Encoding and decoding use your browser's built-in functions locally; nothing is uploaded.