Z

URL Encoder & Decoder

Percent-encode URLs and query string parameters, or decode them back. Free, no signup.

How to use

  1. 1 Pick Encode or Decode mode.
  2. 2 Choose Component for query params, or Full URL for entire URLs.
  3. 3 Paste your input and copy the result.

Why use this tool

  • Two variants — encodeURIComponent for individual params, encodeURI for full URLs.
  • Real-time bidirectional — switch modes and swap input/output in one click.
  • Runs in your browser — your URLs stay private.
  • Free, no signup, no ads.

Frequently asked questions

When should I use encodeURIComponent vs encodeURI?

Use encodeURIComponent for query string values and path segments (encodes / ? & = #). Use encodeURI for an entire URL string when you want to preserve those structural characters.

Does this support special characters?

Yes — full Unicode support. Emoji, CJK, Arabic, and combining characters are all encoded correctly.

Why does my decode fail?

Invalid percent-encoding (e.g. "%XY" where XY isn't valid hex) throws a URIError. Check that every "%" is followed by exactly 2 hex digits.

Related tools

Build, share, and grow on Zerethon Social

Free signup. Earn points, collect achievements, and connect with creators worldwide.

Try Zerethon free