๐Ÿ”—

URL Encoder and Decoder

Encode & decode URLs

How to Use

  1. 1

    Paste your URL or text into the input box. The encoded output appears automatically in the field below.

  2. 2

    Switch between Encode and Decode modes using the toggle button.

  3. 3

    Click Copy to copy the result to your clipboard.

Frequently Asked Questions

When should I URL encode? โ–ผ
URL encoding is required when passing special characters (spaces, &, =, ?, #) in URLs or query string parameters. It converts unsafe characters to percent-encoded format (e.g., a space becomes %20) so they are transmitted correctly.
What is the difference between encodeURI and encodeURIComponent? โ–ผ
encodeURI encodes a complete URL but preserves structural URL characters like :, /, ?, and &. encodeURIComponent encodes everything including those characters, making it safe for use as a value within a query parameter. Use encodeURIComponent for individual parameter values.
Can I decode a URL? โ–ผ
Yes. Paste a percent-encoded URL or string and switch to Decode mode to see the original readable text. This is useful for debugging URLs with encoded query parameters.