Developer Tools
URL Encoder / Decoder
Percent-encode or decode URLs and query strings.
Free foreverRuns in your browserNo sign-up
About the URL Encoder / Decoder
Percent-encode text so it is safe inside URLs and query strings, or decode an encoded URL back into readable text.
Essential when building links, debugging redirects or handling query parameters and form data.
Percent-encoding replaces unsafe characters such as spaces, &, ? and # with a % followed by their hex code, so the value survives being placed in a URL.
Key features
- Encode and decode URL components
- Handles spaces and special characters
- One-click copy
- Private, no server calls
How to use
- 1Paste text or an encoded URL.
- 2Click Encode or Decode, then copy the result.
Frequently asked questions
- When do I need URL encoding?
- Whenever you put user text, spaces or special characters into a URL or query string, encoding keeps the link valid.
- What is the difference between encoding and decoding?
- Encoding makes text URL-safe; decoding turns an encoded URL back into readable text.
- Should I encode the whole URL or just parts?
- Encode individual parts such as query values, not the entire address, otherwise the slashes and colons in the URL would be encoded too.