URL Encoder / Decoder
Encode, decode, and parse URLs and query strings — instantly, in your browser.
100% in your browser. Nothing is uploaded.
Output appears here.
Frequently asked questions
Is anything sent to a server?
No. Encoding, decoding, and URL parsing all run in your browser using native JavaScript APIs. No data leaves your device.
What is the difference between encodeURIComponent and encodeURI?
encodeURIComponent encodes everything except letters, digits, and - _ . ! ~ * ' ( ). encodeURI additionally leaves : / ? # [ ] @ & = + $ , ; % intact — it is meant for full URLs where you want to preserve URL structure. Use encodeURIComponent for individual query values; use encodeURI when encoding a complete URL.
Why does decoding sometimes show an error?
decodeURIComponent throws on malformed percent-sequences like a bare % or %xy where xy is not valid hex. The tool surfaces the browser's exact error so you can identify the offending character.
More dev tools
JSON Formatter
Format, validate, minify, and explore JSON.
Base64 Encode/Decode
Encode and decode Base64 for text and files.
JWT Decoder
Decode and verify JSON Web Tokens.
Hash Generator
MD5, SHA-1, SHA-256/384/512 for text and files.
UUID Generator
UUID v4, v7, and Nano ID. Bulk generation.
Regex Tester
Test patterns with live matches and replace.