Skip to main content
T

URL Encoder / Decoder

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

More options
Send output to:
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.
Is it safe to encode sensitive URLs?
Yes — all encoding and decoding happens inside your browser. Your URLs are never sent over the network.
Can I encode just one parameter instead of the whole URL?
Yes. Switch to component mode to encode or decode a single query parameter or path segment without touching the rest of the URL.

Related tools

Advertisement