URL Decoder
Decode URL-encoded text.
About this tool
Paste a percent-encoded string and read it as normal text. %XX sequences are decoded as UTF-8, and a plus sign is treated as a space, as in query strings.
How to use
How it works
Plus signs are first turned into spaces, then the string is passed through decodeURIComponent. This reads multi-byte sequences such as %C3%A9 as one character. A stray % that is not followed by two hex digits makes the string invalid and shows an error.
Worked example
A query fragment
- Input
- q%3Dcaf%C3%A9+au+lait%26x%3D1
- Output
- q=café au lait&x=1
- Walkthrough
- %3D is =, %C3%A9 is é, + is a space and %26 is &.
Limitations
- Every + becomes a space, including a literal plus in a path, where it would normally stay a plus.
- Broken sequences like %E0%A4%A stop with an error rather than partial output.
Questions
How do I decode a URL?
What does %20 mean?
Why do I get Invalid URL-encoded string?
Does it decode plus signs?
Features
- UTF-8 sequences
- Plus to space
- Clear error on bad input
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
What Is A RESTful API?
Traversy Media
URL encoding shows up constantly in query strings and API clients.
Watch on YouTubeInspect Network Activity - Chrome DevTools 101
Chrome for Developers
Debugging payloads you paste into JSON and JWT tools.
Watch on YouTube
- Base64
MDN
Glossary definition and when Base64 is appropriate versus binary transfer.
- Introduction to JSON Web Tokens
jwt.io
JWT structure for decoder and debugger pages.