Skip to main content
One Man Army

URL Encoder / Decoder

Encode and decode URLs safely for web development and sharing.

Build safe query strings, debug encoded URLs, or decode percent-encoded text. This tool supports standard URI encoding and full percent-encoding — useful for APIs, forms, and JavaScript development.

Related tools

How to use

  1. Paste text or a URL into the input box.
  2. Click Encode URI, Decode URI, or Encode all chars.
  3. Copy the result from the output panel.

FAQ

What is the difference between encode modes?
Encode URI uses encodeURIComponent (safe for query values). Encode all chars percent-encodes every character.
Is my data sent anywhere?
No. Encoding and decoding happen entirely in your browser.
When should I use encodeURIComponent?
Use it for individual query parameter values that may contain spaces, ampersands, or unicode characters.
Can I decode a full URL?
Yes. Paste an encoded URL and click Decode URI to reveal the original characters.
How is this different from Base64?
URL encoding (percent-encoding) is for URLs and query strings. Base64 is a separate encoding scheme for binary data.