MicroToolHub

General tools

URL Encoder & Decoder

Prepare text for a URL component or decode percent escapes.

Use one path segment or query value. A plus sign is treated as a literal plus.

How to use the URL Encoder & Decoder

  1. Identify the individual query value or path component you need to encode.
  2. Select encode or decode and enter the text once.
  3. Copy the output and check the destination URL in context.

Worked example

The query value “tea & cake” becomes tea%20%26%20cake. The encoded ampersand stays inside that value.

When to use it

Keep literal spaces, punctuation and international text from being confused with URL separators.

Should I encode the entire address before sharing it?

Encode individual components when composing a URL. Encoding the whole address also changes meaningful separators such as the colon and slashes.