URL encode / decode
encodeURIComponent and decodeURIComponent helpers.
About this tool
Percent-encode text for safe use in URLs, or decode an encoded string back to readable form. Essential when query parameters contain spaces or special characters.
Why use it
- Encode and decode both directions in one tool.
- Keeps links from breaking when they carry odd characters.
- Runs locally with instant results.
Common use cases
- Build a query string that includes spaces or symbols.
- Read a messy encoded link someone sent you.
- Prepare a search term for a URL parameter.
Tips
- Encode each parameter value, not the whole URL at once.
- Spaces become %20 (or + in some query contexts).
How to use
- Paste a string.
- Encode or Decode.
- Copy the result.
FAQ
- When do I need to URL-encode text?
- Whenever a value with spaces or special characters goes into a query string or link.
- Can I decode an encoded URL?
- Yes, paste a percent-encoded string to turn it back into readable text.
- Is my data uploaded?
- No. Encoding and decoding are done locally in your browser.
- What is the difference from Base64?
- URL encoding escapes unsafe characters as %XX; Base64 re-encodes all data into an ASCII alphabet.
- Does it handle Unicode characters?
- Yes, characters are encoded as UTF-8 percent sequences.
- Why are spaces shown as %20 or +?
- Both represent a space; %20 is standard in paths while + is common in query strings.