URL component encoder / decoder
URL component encoder / decoder: use text or encoded component, operation. Review the formula, worked example and calculation steps.
Inputs
Use the units shown—
Enter your values and select Calculate.
Formula & explanation
Encode a URL component as UTF-8 percent escapes; decode valid percent escapes
Variables & units
- Text or encoded component
- Text input
- Operation
- Select an option
Worked example
hello world encodes as hello%20world.
Assumptions
For a component, not an entire URL. Decoding does not treat + as a space. Encoding is not encryption. Automatic history is disabled for this tool.
Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.
Calculated on your device. Automatic history is disabled for these inputs.