URL Component Decoder

Read the text represented by an encoded URL component.

Text inputPreview and copyRuns in your browser

Enter your text

Result

How to use URL Component Decoder

  1. Paste your source text in the input box.
  2. Select Convert to generate the output.
  3. Review the output before copying it.

How it works

Read the text represented by an encoded URL component. Interpret valid UTF-8 percent escapes in one URL component.

Formula or processing rules

Interpret valid UTF-8 percent escapes in one URL component.

Worked example

coffee%20%26%20tea decodes to coffee & tea.

Example text lengths in UTF-16 code units
Input · 18
Output · 12
Worked example
MeasureValue
Source textcoffee%20%26%20tea
Resultcoffee & tea

Pros and cons

Pros

Read the text represented by an encoded URL component. The sample provides an immediate check of the expected output.

Cons

Invalid percent escapes fail. A plus sign stays a plus sign because this tool decodes components, not URL form bodies.

Troubleshooting

Check the input format and compare your case with the built-in sample. Invalid percent escapes fail. A plus sign stays a plus sign because this tool decodes components, not URL form bodies.

Frequently asked questions

How do I use the text I get back?

Copy the output into the document, list, or compatible tool where you need it.

How does the transformation work?

Interpret valid UTF-8 percent escapes in one URL component.

Can I try a sample first?

coffee%20%26%20tea decodes to coffee & tea.

What should I check before using the result?

Invalid percent escapes fail. A plus sign stays a plus sign because this tool decodes components, not URL form bodies.

Is my input stored by the tool?

The transformation is computed in the open page. The tool does not save the submitted text.