URL Encoder and Decoder
1.
Paste your URL or query string into the Input panel
2.
Click Encode to percent-encode special characters, or Decode to reverse it
3.
Copy the result
▸
Encoding query parameters with special characters before sending an API request
▸
Decoding a percent-encoded URL to make it human-readable
▸
Debugging URLs that contain spaces, accented characters, or symbols
What is percent-encoding?
Percent-encoding (URL encoding) replaces characters that are not allowed in URLs with a % followed by their hexadecimal ASCII code. For example, a space becomes %20.
When should I encode a full URL vs. just a query value?
Encode individual query parameter values, not full URLs. Encoding a full URL will also encode the :// and / characters, breaking the URL structure.
Is my data sent to a server?
Encoding and decoding run entirely in your browser. No data is transmitted anywhere.
What characters are always safe in URLs?
Letters (A–Z, a–z), digits (0–9), and the characters - _ . ~ are unreserved and never need encoding.
What is the difference between encodeURI and encodeURIComponent?
encodeURI preserves URL-structural characters like / ? & = and is used for full URLs. encodeURIComponent encodes everything including those characters and is used for individual parameter values. This tool uses encodeURIComponent behavior for values.