Tools / Data

URL encoder and decoder

Use this url encoder to encode or decode text and links, and to read the parts of a query string. Runs in your browser.

Report a problem

How to use it

  1. Choose Encode, Decode or Read a query string.
  2. Type or paste your text or link.
  3. Copy the result.

About this tool

This URL encoder converts text and links to and from percent encoding, and reads query strings. A URL can only contain certain characters, so spaces, symbols and non-English letters are written as a percent sign and two digits. A url encoder does that conversion, and the decoder reverses it. Encode a single value when you build a query string. Encode a whole URL when you want to keep its slashes and question marks. The query reader splits a link into its names and values and shows them in a table, which helps when you debug a link. Nothing leaves your browser.

When you need to encode a URL

Spaces, ampersands, question marks and non-English letters have special meaning or are not allowed in a link, so they are written as % and two digits. Encode a value before you put it in a query string, so it does not break the link.

Read a long link

Paste a link into the query reader to see every parameter name and value in a table, already decoded. You can copy the result as JSON, which helps when you debug a tracking link or an API call.

Questions

What is the difference between encoding a value and a whole URL?

A value is encoded completely, including / ? & and =. A whole URL keeps those, so the link still works.

Why does decoding fail?

A % sign must be followed by two hex digits. A broken one cannot be decoded, and the tool tells you.

Does it handle Urdu and other languages?

Yes. Letters are encoded as UTF-8, the standard for links.

Last updated: 2026-11-23

Other tools