Mr. Tools

How to

How to use URL Encode / Decode

A browser-based utility for URL encoding and decoding text or query parameter values. It is useful when preparing search terms, sharing links, or reading encoded values quickly. Convert text or parameter values for URLs, restore them when needed, and copy the result in one place.

URL Encode / Decode thumbnailURL Encode / Decode thumbnail

Use Cases

When to use it

  • Convert query parameter values safely
  • Read encoded text from a shared URL
  • Prepare search terms with spaces or non-ASCII characters
  • Pass a parameter value safely to a third-party API
  • Read an encoded value found in a request or response log
  • Convert text to put in a hidden form field

Capabilities

What this tool can do

  • URL-encode text
  • URL-decode text
  • Copy the result or swap input and output
  • Encode spaces as %20
  • Decode percent-encoded strings immediately
  • Copy the result to the clipboard

Guide

How to use each screen area

Learn how to use each screen area, including settings, input, previews, results, and saving.

01 HOWTO

Options area

Use this screen area to prepare the source content and confirm the main controls before running the tool.

Screen showing Options area in URL Encode/DecodeScreen showing Options area in URL Encode/Decode

What this area does

  • Use this screen area to prepare the source content and confirm the main controls before running the tool.
  • Use this screen area to run the main action and compare the effect in the result area.
  • Use this screen area to check validation, error, or detail information before copying the result.
  • Use this screen area to copy, swap, export, or return to the related input area for another pass.

Where to use it

01
Prefix

Use this screen area to prepare the source content and confirm the main controls before running the tool.

Screen showing where to use Prefix in URL Encode/DecodeScreen showing where to use Prefix in URL Encode/Decode
02
Separator

Use this screen area to run the main action and compare the effect in the result area.

Screen showing where to use Separator in URL Encode/DecodeScreen showing where to use Separator in URL Encode/Decode
03
Input field

Use this screen area to check validation, error, or detail information before copying the result.

Screen showing where to use Input field in URL Encode/DecodeScreen showing where to use Input field in URL Encode/Decode
04
Run encode

Use this screen area to copy, swap, export, or return to the related input area for another pass.

Screen showing where to use Run encode in URL Encode/DecodeScreen showing where to use Run encode in URL Encode/Decode

02 HOWTO

Input area

Use this screen area to run the main action and compare the effect in the result area.

Screen showing Input area in URL Encode/DecodeScreen showing Input area in URL Encode/Decode

What this area does

  • Use this screen area to prepare the source content and confirm the main controls before running the tool.
  • Use this screen area to run the main action and compare the effect in the result area.
  • Use this screen area to check validation, error, or detail information before copying the result.
  • Use this screen area to copy, swap, export, or return to the related input area for another pass.

Where to use it

01
Input field

Use this screen area to prepare the source content and confirm the main controls before running the tool.

Screen showing where to use Input field in URL Encode/DecodeScreen showing where to use Input field in URL Encode/Decode
02
Check prefix

Use this screen area to run the main action and compare the effect in the result area.

Screen showing where to use Check prefix in URL Encode/DecodeScreen showing where to use Check prefix in URL Encode/Decode
03
Check separator

Use this screen area to check validation, error, or detail information before copying the result.

Screen showing where to use Check separator in URL Encode/DecodeScreen showing where to use Check separator in URL Encode/Decode
04
Prepare decode

Use this screen area to copy, swap, export, or return to the related input area for another pass.

Screen showing where to use Prepare decode in URL Encode/DecodeScreen showing where to use Prepare decode in URL Encode/Decode

03 HOWTO

Action area

Use this screen area to check validation, error, or detail information before copying the result.

Screen showing Action area in URL Encode/DecodeScreen showing Action area in URL Encode/Decode

What this area does

  • Use this screen area to prepare the source content and confirm the main controls before running the tool.
  • Use this screen area to run the main action and compare the effect in the result area.
  • Use this screen area to check validation, error, or detail information before copying the result.
  • Use this screen area to copy, swap, export, or return to the related input area for another pass.

Where to use it

01
URL encode

Use this screen area to prepare the source content and confirm the main controls before running the tool.

Screen showing where to use URL encode in URL Encode/DecodeScreen showing where to use URL encode in URL Encode/Decode
02
URL decode

Use this screen area to run the main action and compare the effect in the result area.

Screen showing where to use URL decode in URL Encode/DecodeScreen showing where to use URL decode in URL Encode/Decode
03
Swap input and output

Use this screen area to check validation, error, or detail information before copying the result.

Screen showing where to use Swap input and output in URL Encode/DecodeScreen showing where to use Swap input and output in URL Encode/Decode
04
Review input

Use this screen area to copy, swap, export, or return to the related input area for another pass.

Screen showing where to use Review input in URL Encode/DecodeScreen showing where to use Review input in URL Encode/Decode

04 HOWTO

Result and copy area

Use this screen area to copy, swap, export, or return to the related input area for another pass.

Screen showing Result and copy area in URL Encode/DecodeScreen showing Result and copy area in URL Encode/Decode

What this area does

  • Use this screen area to prepare the source content and confirm the main controls before running the tool.
  • Use this screen area to run the main action and compare the effect in the result area.
  • Use this screen area to check validation, error, or detail information before copying the result.
  • Use this screen area to copy, swap, export, or return to the related input area for another pass.

Where to use it

01
Copy result

Use this screen area to prepare the source content and confirm the main controls before running the tool.

Screen showing where to use Copy result in URL Encode/DecodeScreen showing where to use Copy result in URL Encode/Decode
02
Check decoded text

Use this screen area to run the main action and compare the effect in the result area.

Screen showing where to use Check decoded text in URL Encode/DecodeScreen showing where to use Check decoded text in URL Encode/Decode
03
Encode again

Use this screen area to check validation, error, or detail information before copying the result.

Screen showing where to use Encode again in URL Encode/DecodeScreen showing where to use Encode again in URL Encode/Decode
04
Reuse input

Use this screen area to copy, swap, export, or return to the related input area for another pass.

Screen showing where to use Reuse input in URL Encode/DecodeScreen showing where to use Reuse input in URL Encode/Decode

Notes

Notes

Important points are grouped with reasons so you can make decisions before using the tool.

Things to check

Decide which part of the URL you want to convert

The checkpoints change depending on whether you want to convert only a query parameter value or a larger part of the URL. Decide the target range before encoding.

Things to check

Match the prefix and separator to the destination

Use % with no separator for regular URL output. Switch to \x, 0x, spaces, or commas only when you need a display format for logs or documents.

Note

Encode only the value portion, not the entire URL

Encoding the entire URL will also encode the scheme (https://) and separator characters. Enter only the value you want to encode.

FAQ

Questions about URL Encode / Decode

Questions that make decisions easier before use are summarized first.

Can it process an entire URL?

It can, but it is mainly intended for plain text and query parameter values rather than full URL construction.

Can it decode invalid percent sequences?

No. Invalid URL-encoded text is shown as an error.

Are spaces encoded as %20 or +?

This page encodes spaces as %20. The + form (used in application/x-www-form-urlencoded) follows a different rule.

How are non-ASCII characters handled?

Text is encoded as UTF-8 bytes first, then converted to the %XX percent-encoding format.

Can I encode just part of a URL?

Yes. Enter only the part you want to encode. This tool is designed for encoding individual values rather than entire URLs.

Can I convert multiple parameters at once?

The tool has a single input field. Process each value one at a time.

Next guides

Related guides

Related guides are listed next so you can continue without getting lost.