Free URL Encoder and Decoder
Percent-encode or decode URLs and query parameters in your browser. Fast, private and free.
About this tool
URLs can only contain a limited set of characters, so spaces, symbols and non-English letters are replaced with percent codes such as %20. Use component mode for a single query value and full URL mode to keep slashes and question marks intact.
How to use URL Encoder and Decoder in 3 Simple Steps
Paste text or a URL
Enter the value you want to encode or decode.
Pick a mode
Component encodes everything unsafe, full URL keeps its structure, Decode reverses it.
Copy the result
Use it in your link, API call or code.
Why ForgePDF URL Encoder and Decoder is Completely Private
🔒 The tool calls encodeURIComponent, encodeURI and decodeURIComponent inside your browser. URLs with private tokens are never uploaded.
Frequently Asked Questions
When should I use component mode?
Use it for a single query value, such as the text after q= in a search link, so that characters like & and = are encoded too.
Why does decoding show an error?
A stray percent sign that is not followed by two hex digits is invalid and cannot be decoded.