Free URL Encoder / Decoder

Encode or decode URLs instantly. Supports encodeURIComponent and encodeURI output.

Enter text above and click Encode or Decode

How to Use the URL Encoder/Decoder

Paste text to encode special characters into URL-safe percent-encoded format, or paste an encoded URL to decode it back to readable text. Handles spaces, accents, Unicode, and all reserved URL characters.

When to Use URL Encoding

  • Encoding query string parameters that contain special characters or spaces
  • Debugging URLs with percent-encoded characters to see the actual values
  • Preparing text data for inclusion in API requests or webhook payloads

Frequently Asked Questions

What characters need encoding?

Reserved characters like ampersand, equals, question mark, slash, hash and spaces must be encoded. Non-ASCII characters including accents and Unicode also need encoding.

What is the difference between encodeURI and encodeURIComponent?

encodeURI preserves URL structure characters. encodeURIComponent encodes everything except letters, digits, and a few symbols, suitable for parameter values.

Is double encoding a problem?

Yes. Double encoding turns %20 into %2520. Always paste original unencoded text for encoding, or the encoded version for decoding.

Automate your dev workflow with SARA, your AI assistant

All processing happens locally in your browser. No data is stored or transmitted.