T TextTools

URL Encoder / Decoder

Encode or decode URL strings — single component or full URL — with proper percent-encoding.

Advertisement

How to use URL Encoder / Decoder

  1. Choose encode or decode.
  2. Pick component mode (encodes more) or full-URL mode.
  3. Paste your text and copy the result.

What is URL Encoder / Decoder?

URLs can only contain a limited ASCII subset. Special characters (spaces, &, =, #, non-ASCII) must be percent-encoded — for example, a space becomes %20. This tool handles both encoding and decoding, with separate modes for full URLs (preserves ://) and query-string components (encodes everything).

Advertisement

FAQ

What's the difference between component and full-URL mode?
Component mode (encodeURIComponent) encodes /, ?, &, =, etc. — use it for query values. Full-URL mode (encodeURI) preserves URL structure.

Related tools