Top horizontal ad space

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

  1. Choose encoding mode: Component for values, Full URL for complete URLs
  2. Paste or type your URL/text in the input field
  3. Click Encode to URL-encode, or Decode to decode
  4. Copy the result or swap to continue editing
  5. 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.