URL Encoder & Decoder

Encode or decode a URL component.

Processed on your device. Your files and text are not uploaded.

Operations apply to the complete input. Review the result before replacing your original.

How to use

Paste your input, choose an operation, then copy or download the result.

Practical workflow

Encode a query value once

  1. 1Paste only the parameter value, such as Hello world & tools, rather than an entire website address.
  2. 2Choose Encode to obtain Hello%20world%20%26%20tools. Place that encoded value after the parameter name in your URL.
  3. 3Decode a small sample and compare it with the original before using the result.

Before you use the result

Encoding twice changes %20 into %2520. A plus sign stays a plus sign when decoding here; this is a URL-component tool, not a form-urlencoded parser.

Check spaces, plus signs and double encoding

Input: Hello world & tools
Encoded: Hello%20world%20%26%20tools

Decode a+b → a+b
Decode a%2Bb → a+b

Common questions and fixes

Why does an encoded URL stop working?

Encoding an entire address also encodes separators such as : and /. Encode the individual query value instead, unless another system explicitly requires an encoded full URL.

Why do I see %2520 instead of %20?

The percent sign was encoded again. Decode once and inspect the result; do not repeatedly decode untrusted content without understanding how it will be used.

Why does decoding fail?

A percent escape must contain two hexadecimal digits, and encoded bytes must form valid UTF-8 for this decoder. Check incomplete sequences such as % or %2 and keep the original input.

Understand the idea behind this tool

See how query values differ from whole addresses, then try the encoding exercise.

Read a URL before you share it →

When to use URL Encoder & Decoder

Encode a single value before placing it in a query parameter or URL path component. Decode reveals the text represented by percent-encoded bytes.

Practical example

Hello world & tools becomes Hello%20world%20%26%20tools. Decode returns the original phrase.

Should I encode an entire website URL?

Usually not with this component encoder: it also encodes separators such as : and /. Encode individual values. A plus sign is not treated as a space when decoding here.

Related tools

Step-by-step guide

Encode a URL parameter without breaking the address

Review the example, result checks and limitations before using your own inputs.