URL Encoder Decoder
Encode or decode URL components with encodeURIComponent and decodeURIComponent.
Examples
See what this tool can do.
Encode a query value
Safely encode a search term with spaces and symbols for a URL.
Read an encoded link
Decode a %-encoded URL to see the real values.
Tips & tricks
Get the most out of it.
- 1Encode individual query values, not the whole URL, to avoid double-encoding.
- 2Decoding helps you read tracking or redirect URLs.
- 3Percent-encoding keeps spaces and symbols from breaking links.
About URL Encoder Decoder
What this tool does
URL Encoder / Decoder encodes text for safe use in URLs and decodes encoded URLs back to readable text.
How to use it
- Paste your text or encoded URL.
- Choose Encode or Decode.
- Copy the result.
How it works
It uses the browser's encodeURIComponent and decodeURIComponent so special characters are converted to and from their percent-encoded form correctly.
Privacy
This tool runs entirely in your browser. The text, HTML or settings you enter are processed locally and never uploaded to a server.
Related SEO tools
Frequently asked questions
URL encoding makes text safe for URLs using percent-escapes; Base64 re-encodes data as text for transport. They serve different purposes.
