tooldura

All tools

URL Encoder/Decoder

Encode a value or a whole URL, decode either, and read query parameters

Encode

Escapes everything, including : / ? & =. Use it for one value going into a parameter.

About URL Encoder/Decoder

The URL Encoder/Decoder percent-encodes a single value or repairs a whole URL, decodes either one back, and breaks any query string it finds into a readable table of parameters. Made for the moment you're staring at a tracking link or a redirect and need to know what's actually in it.

100% FreeNo limits or paywalls
PrivateData stays in your browser
InstantNo upload or wait time
Any DeviceMobile, tablet, desktop

The guide behind this tool

URL Encoding: encodeURI vs encodeURIComponent, and the Plus Sign

The two JavaScript functions are not interchangeable, and picking the wrong one is the most common URL bug there is. Plus where %2520 comes from.

7 min read

How to use URL Encoder/Decoder

  1. 1

    Choose Encode or Decode.

  2. 2

    When encoding, pick "Value" for one parameter or "Whole URL" to keep the link's structure intact.

  3. 3

    Paste your URL or text, copy the result, and read the parameter table underneath if there's a query string.

Frequently Asked Questions

Value mode escapes everything, including : / ? & and =, which is right for one parameter you're inserting into a link. Whole URL mode leaves that punctuation alone and only fixes what isn't legal, such as spaces. Run "https://example.com/search?q=hello world" through value mode and you get an unusable string; whole URL mode gives you back the same link with %20 in the right place.