URL Encode / Decode

Convert text into safe percent-encoding for links and query strings, or decode an encoded URL back into readable text.

Words: 0 Characters: 0 No spaces: 0 Sentences: 0 Paragraphs: 0 Reading time: 0 min

Encode or decode

Encode and decode URLs online

Web addresses can only safely contain a limited set of characters. Spaces, accents, ampersands, question marks and symbols all have special meaning or are not allowed, so they must be converted into percent-encoding — the %20 style sequences you see in long links. This tool converts text into that format and back again.

When you need URL encoding

Building query strings by hand, passing search terms or names through a link, adding UTM tracking parameters that contain spaces, sending values to an API, or debugging why a link breaks halfway through. Decoding is just as handy: paste an ugly encoded URL and instantly read what it actually says.

How to use it, step by step

  1. Paste your text or URL into the box above.
  2. Tap "URL encode" to convert it into percent-encoding.
  3. Tap "URL decode" to turn encoded text back into plain characters.
  4. Tap "Copy to clipboard" and use the result in your link or code.

What the tool does

Encoding uses standard component encoding, so reserved characters such as &, =, ? and / are escaped — the right behaviour when you are encoding a single value to drop into a query string. Decoding also converts + back into a space, which is how many older forms encode spaces. If the text is not valid encoded data, you get a clear message rather than a broken result.

Frequently asked questions

Why did my whole URL get escaped? Encoding treats the input as a single value. Encode just the parameter, not the entire address. Is my data private? Yes — everything runs in your browser.

Related tools

Also handy: the text to slug converter for clean URLs, and the JSON formatter for API payloads.

All-in-one text toolEvery tool on one page Word CounterWords, characters, reading time Case ConverterUPPERCASE, lowercase, Title Case Bold Text Generator𝗕𝗼𝗹𝗱 & 𝘪𝘵𝘢𝘭𝘪𝘤 for social media Remove Line BreaksJoin text into one paragraph LinkedIn Text FormatterBold text for LinkedIn posts Instagram Font GeneratorCool fonts for your bio Remove Extra SpacesDelete double spaces online Remove Duplicate LinesDelete repeated lines Text to SlugConvert a title to a URL slug Lowercase to UppercaseCapitalize all letters Markdown to Plain TextClean up ChatGPT & Claude output Token CounterEstimate AI prompt tokens JSON FormatterFormat, validate & minify JSON Extract URLs & EmailsPull links or emails from text Readability CheckerFlesch score & speaking time