a11y.skipToMainContent
1

URL Encoder & Decoder

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

More options
Was this tool helpful?
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

Author

NK
Prof. Noah Klein"The Privacy Guardian"

Cybersecurity Researcher & Privacy Advocate

Professor Klein holds a PhD in Information Security and has testified before EU parliamentary committees on data privacy legislation. He builds encryption tools for journalists, audits web applications for security flaws, and believes that privacy is not a feature but a fundamental right. His research has been cited in Wired, Nature, and The Guardian, and he advises nonprofits on responsible data stewardship.

Advertisement