URL Encoder/Decoder
Encode and decode URLs and query parameters. All processing happens in your browser.
Top ad space
Encoding mode:
Output
Common URL Encodings
→%20&→%26?→%3F=→%3D#→%23/→%2F@→%40+→%2B🔒 Privacy First: All encoding and decoding happens in your browser using built-in JavaScript functions. No data is sent to any server.
Bottom ad space
How to Use
- Choose encoding mode: Component for values, Full URL for complete URLs
- Paste or type your URL/text in the input field
- Click Encode to URL-encode, or Decode to decode
- Copy the result or swap to continue editing
- For URLs with query strings, see parsed parameters below
About URL Encoding
URL encoding converts special characters into a format safe for URLs. This is necessary because URLs can only contain certain characters (letters, numbers, and a few symbols). Characters with special meaning in URLs (like ? & =) or unsafe characters (like spaces) must be encoded.
encodeURIComponent encodes everything except letters, numbers, and - _ . ! ~ * ` ( ). Use it for query parameter values. encodeURI preserves URL structure characters like : / ? # & =. Use it for complete URLs where you want to keep the structure.