● online

URL Encoder and Decoder

Percent-encode text so it is safe inside a URL, or decode an encoded query string back into readable characters.

How to use the URL Encoder and Decoder

  1. Paste the text or URL.
  2. Choose encode or decode.
  3. Copy the converted string.

About the URL Encoder and Decoder

URLs may only contain a limited set of characters, so spaces, ampersands, question marks and anything non-ASCII must be percent-encoded. Getting this wrong truncates query parameters — an unencoded ampersand inside a value silently splits it into two parameters. Both component encoding, for individual values, and full-URL encoding are supported.

Frequently asked questions

What is percent encoding?

Replacing unsafe characters with a % followed by their hex byte value — a space becomes %20.

When should I encode a URL parameter?

Whenever a value could contain a space, ampersand, question mark, slash or any non-ASCII character.

What is the difference between encoding a component and a full URL?

Component encoding escapes reserved characters like / and ? because they are data; full-URL encoding preserves them because they are structure.

What is the difference between encoding a full URL and a query value?

Encoding a whole URL leaves characters like the slash, colon and question mark alone because they have structural meaning. Encoding a single value escapes them too, which is what you want when that value is being inserted into a query string and must not break the URL apart.

Related free tools

← Back to all 106 free online tools

Runs entirely in your browser — nothing you enter is uploaded. Last reviewed and updated .

The Tools Guru Editorial Team

Three front-end engineers and technical writers in Punjab, Pakistan, shipping browser software since 2011. Every formula on this site is implemented from a primary source and checked against an independent reference implementation before release — see our editorial policy. Spotted a wrong number? Tell us and we will reproduce it, usually the same working day.

Explore all 106 free tools

Results filter as you type. Press Control plus K to jump here. Ctrl K
106tools0uploads to servers100%free forever

Trending now

All tools