Utilities tool

URL encoder and decoder

Fix escaped query values and paths.

Your inputs

Your results

Ready when you are
Add your inputs or try an example.
Your results will appear here.

How it works

Percent-encode or decode a single URL component with explicit handling for plus signs from form-encoded query values.

Read the source reference ↗

A few things to know

Do not encode a complete URL with component encoding if you want separators to retain their meaning. Invalid percent escapes or invalid UTF-8 fail. Maximum one million characters.

A little context

When to use this tool

Convert an individual query value or path segment. Encoding a whole URL would also encode its structural separators.

  • Prepare a query parameter.
  • Decode a URL value.
  • Diagnose double encoding.

How to use url encoder and decoder

  1. Prepare the inputs

    Paste the original text and keep a copy of it.

  2. Choose the settings

    Choose the conversion settings; identifiers are preserved as text.

  3. Review and export

    Review the output and download it before using it elsewhere.

Try the numbers

Try the supplied example

Inputs

text: tea & coffee / 50%; mode: Encode component; plus: Literal plus

Result

The default value becomes tea%20%26%20coffee%20%2F%2050%25.

What it means

Insert the encoded result into the correct URL component only.

Common mistakes to avoid

Encode values once at the insertion boundary

Encode values once at the insertion boundary.

Choose the correct plus-sign convention

Choose the correct plus-sign convention.

Useful answers

Frequently asked questions

Definitions, edge cases, and practical next steps for this tool. Search all tool FAQs ↗

Should I encode a whole URL?

No. This tool uses component encoding, which escapes URL separators too.

Why does a space become %20?

It is the percent encoding of the space byte in this component context.

When does + mean space?

In form-encoded query values. Choose Form space only for that context.

Why do I see %2520?

A percent sign was encoded again; the value has another encoding layer.

Are malformed escapes repaired?

No. Incomplete or invalid percent escapes produce a field error.

Can I decode Unicode?

Yes, when the percent-encoded bytes form valid UTF-8.

Are my inputs uploaded or stored?

Processing happens locally in your browser. This tool does not upload inputs. Downloads stay on your device; sharing or opening them in another service is your choice.

What should I check before using the output?

Do not encode a complete URL with component encoding if you want separators to retain their meaning. Invalid percent escapes or invalid UTF-8 fail. Maximum one million characters.

Explore the topic in the blog

Sources and method

Use the references below to check definitions and platform guidance. The model’s scope and limits are explained above. Read our editorial standards.

Help

How can we help?

Find instructions, report a problem, or leave a message.

Read this tool’s FAQs ↗

Guides for this tool

Match the encoding to the boundary.
Common questions

Where do I start? Try an example, then replace its values with yours.

Why did my upload fail? Check the field error, accepted format and file-size limit. Start with a small sanitized sample.

Where are my results? Review the result panel, then use its copy or download controls. If a calculation fails, check the error beside the input.

Message us

Chat opens Tawk.to. It processes your messages and connection data. Do not paste private inputs or file contents. Availability and response times vary.