URL Encoder / Decoder
Encode or decode URLs and URI components live in your browser. Supports encodeURI and encodeURIComponent.
Pure browser JavaScript — uses native encodeURI / decodeURI APIs.
How to use this tool
- Paste a URL or raw text.
- Click Encode or Decode (or Encode/Decode component for query-string values).
- The result updates live as you type.
Encode or decode URLs and URI components live in your browser. Supports encodeURI and encodeURIComponent.
Frequently asked questions
- Encode vs Encode component?
- encodeURI preserves characters like /,?,& that have meaning in URLs. encodeURIComponent encodes everything — use it for individual query-string values.