Skip to content
toolstome

URL encoder and decoder

Make text safe to put in a web address, or turn an encoded link back into readable text. Encode a single value, such as a search term or query parameter, or a whole URL while keeping its slashes and question mark. Decoding handles Sinhala, Tamil and other UTF-8 characters, shows exactly where a broken escape is, and splits any full URL into its host, path and a table of query parameters so long tracking links are easy to read.

Free · No sign-upProcessed in your browser

Mode

Encode

How to use the URL Encoder & Decoder

  1. 1

    Choose encode or decode

    Pick 'Encode' to make text URL-safe or 'Decode' to read an encoded link.

  2. 2

    Choose what you are encoding

    Use 'Single value' for a parameter or path segment, or 'Whole URL' to keep : / ? # & = as they are.

  3. 3

    Paste your text

    The result appears as you type. Tick the + option for HTML form data.

  4. 4

    Read the URL breakdown

    For full URLs, check the host, path and every query parameter in the table.

How percent-encoding works

URLs may only contain a limited set of characters (RFC 3986). Every other character is converted to its UTF-8 bytes, and each byte is written as % followed by two hex digits. A space becomes %20 and the Sinhala letter ශ becomes %E0%B7%81.

Encoding a single value also escapes characters that have a meaning in URLs, such as & = / ? and #, so they cannot break the structure. HTML forms write spaces as + instead of %20.

  • space → %20 (or + in forms)
  • & → %26
  • é → %C3%A9

When to use it

  • Build links with search terms or names in any language.
  • Read long tracking or redirect links and see their parameters.
  • Debug API requests whose query strings are double-encoded or broken.

Limits

  • Does not check whether a website exists or is safe; it only transforms text.
  • The URL breakdown appears only for absolute URLs that start with a scheme such as https://.

Privacy

Everything runs in your browser. Links and text you paste are never sent anywhere or opened.

Frequently asked questions

When should I encode a whole URL vs a single value?

Encode each value (such as a search term) on its own before adding it to a URL. Use 'Whole URL' only to clean up a link that already has the right structure but contains spaces or non-English characters.

Why does a space become %20 or +?

%20 is the standard URL encoding. HTML forms use + for spaces in query strings; tick the option if the system you are using expects that.

What does 'malformed escape' mean?

A % must be followed by two hex digits that together form valid UTF-8. A lone % or a cut-off sequence cannot be decoded; the tool shows its position.

Can I decode text that was encoded twice?

Yes. Decode once, copy the result into the input and decode again until no % sequences remain.

Does it work with Sinhala and Tamil?

Yes. Characters are encoded as UTF-8 bytes, the web standard, and decoded back exactly.

Is URL encoding the same as Base64?

No. URL encoding only escapes unsafe characters and keeps the rest readable. Base64 rewrites all data in a 64-character alphabet.

People also use

Last updated November 19, 2026 · How we build and test our tools

Categories

Recently used tools

Tools you open will appear here.

More