The URL Encoder / Decoder converts text and URLs to and from percent-encoding. Encode a string so it’s safe to use in a URL, or decode an encoded URL back into readable text.
How to encode or decode a URL
- Paste the text or URL you want to convert.
- Choose encode or decode.
- Copy the result.
What is URL encoding?
URLs can only contain certain characters, so spaces and symbols are replaced with a percent sign and a code — for example a space becomes %20. This is called percent-encoding and it keeps links and query parameters valid.
Frequently Asked Questions
What does URL encoding do?
It replaces characters that aren’t allowed in a URL (like spaces and &) with percent-encoded equivalents so the URL stays valid.
When should I URL-encode text?
Encode any value you place into a query string or link, especially user input, so special characters don’t break the URL.
How do I decode a URL?
Paste the encoded URL and choose decode to turn percent-codes back into readable characters.
Is the tool free and private?
Yes. It’s free and runs in your browser, so nothing is sent to a server.