URL Encoder & Decoder
URLs may only contain a limited set of characters. Anything else — spaces, accented letters, ampersands, question marks — has to be percent-encoded, which replaces the character with a % followed by its hexadecimal byte value. A space becomes %20.
Free, no signupRuns entirely in your browser
Input
Result
https%3A%2F%2Fvibeland.xyz%2Fsearch%3Fq%3Dhappy%20coding!
About
What the URL Encoder & Decoder does
Encoding matters most in query strings. If a parameter value contains an & or a = and is not encoded, it will be parsed as a parameter boundary and silently split your value in two. That is the cause of a great many 'the search works except when someone types an ampersand' bugs.
How it works
Using the URL Encoder & Decoder
- 1Paste the text or URL you want to convert.
- 2Choose encode or decode.
- 3Encoding replaces every reserved or non-ASCII character with its percent-encoded byte sequence.
- 4Decoding converts percent sequences back into the characters they represent.
- 5Malformed sequences produce a clear error rather than corrupt output.
Use cases
What people use it for
- Building a query string containing user input
- Reading a long encoded URL from an analytics report
- Debugging a redirect chain with encoded parameters
- Encoding a search term for an API request
FAQ
Frequently asked questions
6 related
All tools →