MyCalCute
Install
Calculators / Technology / URL encode and decode

URL encode and decode calculator

Percent-encode text for use in a URL component or decode it.

On this page

Your result

Encoded componenthello%20world

Calculator controls

Action

How to calculate

Percent-encode text for use in a URL component or decode it.

Percent encoding replaces reserved or non-ASCII bytes with %HH sequences.

Worked example

Action: encode; Text: hello world.

Encoded component: hello%20world .

Assumptions and limits

This encodes one URL component, not a complete URL. Invalid escape sequences are rejected when decoding.

Results are rounded for display; calculations use unrounded values. Read our calculation methodology.

Understanding the result

Percent-encode text for use in a URL component or decode it. The displayed figures use the inputs and formula shown on this page.

When this tool is useful

Use the url encode and decode to compare a scenario, check an estimate, or verify a manual calculation.

Understanding your inputs

InputWhat to enter
ActionEnter one of the available options.
TextEnter the value in the format shown.

Frequently asked questions

What should I check before using the url encode and decode result?

This encodes one URL component, not a complete URL. Invalid escape sequences are rejected when decoding.

Is this url encode and decode result exact?

It is exact for the stated mathematical model and entered values. Real-world results can differ when rates, timing, fees, definitions or measurement conditions differ.