URL Encoder / Decoder

Encode and decode URL components and full URLs. Supports both encodeURI and encodeURIComponent modes.

Direction
Mode

How to use the URL Encoder / Decoder

  1. Choose Encode or Decode and select the mode.
  2. Paste your text or URL into the left panel and click Encode / Decode.
  3. Click Copy to copy the result to your clipboard.

encodeURIComponent vs encodeURI

Use encodeURIComponent for individual query string values — it encodes characters like &, =, +, and / that would otherwise break a URL. Use encodeURI for a complete URL — it leaves structural characters intact so the URL stays valid while encoding spaces and non-ASCII characters.