Encode spaces, Chinese, and special symbols
URL Tools
URL Encode Decode Tool
Encode or decode URLs instantly. Convert spaces to %20, fix unsafe URL characters, and decode encoded URLs online.
- Runs in your browser
- No account required
- Copy-ready output
Decode percent-encoded URL components
Use standard percent-encoding
Prepare or inspect query values for URLs and API requests
Notes
How this tool handles your input
This URL Encoder and URL Decoder converts unsafe URL characters into percent-encoded text and turns encoded text back into readable values. Use it to encode URL online or decode URL online when you are working with spaces, query strings, callback URLs, and copied links from logs.
How to use
- Paste URL text, a query value, or percent-encoded text.
- Click Encode to create URL-safe text or Decode to read encoded text.
- Copy the result into your URL, request, or notes.
Good for
- Convert spaces to %20 before sharing a link
- Fix URL with spaces before sharing or sending it
- Decode messy query strings from logs
- Encode callback URLs and search parameters
- Check values before pasting them into an API request
Examples
developer tools
developer%20tools
https://example.com/search?q=url space encoder
https%3A%2F%2Fexample.com%2Fsearch%3Fq%3Durl%20space%20encoder
callback%3Dhttps%3A%2F%2Fexample.com%2Fdone%3Fok%3Dtrue
callback=https://example.com/done?ok=true
FAQ
Does this encode the whole URL?
It applies encodeURIComponent-style encoding, which is best for query values and text fragments.
Why are spaces converted to %20?
Percent-encoding represents spaces as %20 so the value can travel safely inside a URL.
Can I use this as a URL space encoder?
Yes. Paste text or a URL value with spaces, then encode it. Spaces become %20 and other unsafe characters are encoded too.
Why do some strings need decoding twice?
Some systems encode values more than once. This tool decodes one layer each time you run it.
Is my data uploaded to a server?
No. The tool runs in your browser, so the text you paste stays on your device.