URL Encoder & Decoder

Percent-encoding for URLs, queries and form data

🔒 This tool runs entirely in your browser — your data never leaves your device.

URL Encoder / Decoder

Convert text to and from percent-encoded form for URL paths, query strings, fragments and form bodies. Strict RFC 3986 mode also encodes ! ' ( ) * which encodeURIComponent leaves alone. Tolerant decoder accepts +-as-space, mixed case and even malformed sequences.

  • Strict RFC 3986 component encoding
  • Whole-URI encoding (preserves : / ? # @)
  • Tolerant decoder for malformed sequences
  • +-as-space mode for form data
  • UTF-8 safe
  • Runs entirely in your browser

FAQ

Difference between Encode component and Encode URI?

Encode component is strict and percent-encodes everything except A-Z a-z 0-9 - _ . ~. Encode URI preserves URL syntax characters such as : / ? # @ & = +.

Why encode (, ), !, ', * but encodeURIComponent does not?

RFC 3986 lists those characters as reserved; OAuth 1.0a and similar specs require them encoded. encodeURIComponent leaves them alone for legacy reasons.

Will my data be uploaded?

No. Encoding and decoding run entirely in your browser.