Neatbo.

URL encoder and decoder

Percent-encode or decode a URL component or whole URL, with optional plus-to-space decoding.

Browser-local processingInputText or percent-encoded textOutputPercent-encoded or decoded text
  1. 1Add input
  2. 2Adjust settings
  3. 3Get your result

Tool input and files are processed in this browser without being uploaded.

Your input
0 characters · 0 bytes
Options

Complete the required options first. You can keep the defaults for the rest.

Use URL component for one value or path segment. Whole URL preserves separators such as / and &; decoding leaves their percent escapes in place.

Inputs are kept temporarily in this tab when switching tools. Refreshing or closing clears them; large results may need to be regenerated.⌘ / Ctrl + Enter to run

Preparing the tool…

Before you start

Convert text to or from URL percent encoding in your browser. Choose whether the text is one URL component or a whole URL, then copy the result or download it as result.txt. The tool does not visit the address or check that the URL is valid.

How to use this tool

  1. Paste the value or URL into Text. Under Options, choose Encode or Decode in Operation.
  2. Choose URL component for one value or path segment, or Whole URL to preserve URL separators. When decoding form-style values, enable Decode + as a space if the input uses plus signs for spaces.
  3. Select Convert URL encoding and review the separators, percent escapes and spaces. Use Copy result for the complete text or download result.txt. Run the conversion again after changing the input or options.

Supported inputs and limits

Paste up to 1 MiB of text, measured in UTF-8 bytes.

This tool accepts pasted text, with no file input.

Each run performs one conversion. Encoding text that already contains percent escapes encodes its % signs again. Decoding does not repeatedly unwrap nested escapes; check the original value before converting it again.

Worked example

Example input

a+b c/中文
Example options
{}

Example output

a%2Bb%20c%2F%E4%B8%AD%E6%96%87

When something does not work

If decoding fails, check for incomplete percent escapes or escaped bytes that are not valid UTF-8. Recopy the original value rather than repeatedly decoding a partial result. Check the scope and plus-to-space option if conversion succeeds but the separators or spaces are unexpected. Editing the input marks the previous result as stale, and a failed run clears it. Save any result you need before refreshing or closing the tab.

Frequently asked questions

Which encoding scope should I choose?

Use URL component for an individual value, such as a query parameter's value. Encoding that value escapes separators such as & and / so they remain part of the value. Whole URL keeps separators such as :, /, ? and & in place when encoding. When decoding a whole URL, it also leaves encoded separators such as %2F escaped; use URL component when those characters should be decoded as part of a value.

How are plus signs and nested escapes handled?

Decoding keeps literal + signs unless you enable Decode + as a space. That option replaces the input's literal plus signs before percent decoding, so use it only when they represent spaces. Each run decodes once; nested percent escapes can remain in the result. Encoding writes spaces as %20, regardless of the decoding option.

Documentation & further reading

Related tools