Formula and calculation method
Use encodeURIComponent or decodeURIComponent for one URL component.
Not an entire-URL encoder or HTML form decoder; plus signs remain plus signs.
How to use url encoder / decoder
- Set Text or encoded component. The example below uses hello world & café.
- Set Operation by choosing the option that matches your calculation.
- Select Calculate to update the result. Reset restores the illustrated inputs. Copy, print or download your own result if you need a record.
Worked example
Example inputs
- Text or encoded component
- hello world & café
- Operation
- Encode component
- Result
- hello%20world%20%26%20caf%C3%A9
Factors affecting your result
Not an entire-URL encoder or HTML form decoder; plus signs remain plus signs.
Changing text or encoded component changes the scenario being evaluated. Adjust one input at a time when comparing results, keep a copy of the assumptions, and compare values using the same unit and period. A precise arithmetic result does not make an uncertain assumption precise.
Frequently asked questions
How does the url encoder / decoder work?
Use encodeURIComponent or decodeURIComponent for one URL component.
What inputs does URL Encoder / Decoder need?
Enter text or encoded component, operation. Choose values that correspond to the same situation and measurement convention.
How should I interpret the url encoder / decoder result?
Not an entire-URL encoder or HTML form decoder; plus signs remain plus signs.
Are my url encoder / decoder inputs uploaded?
No. The calculation runs in this browser. Favorites, recent tool names, theme and formatting preferences may be saved locally, but calculation inputs are not sent to a calculation server or stored by this website. Shared links do not include entered values.
Maintained by Calculators.buzz Editorial Team. Implementation date: . No professional credentials or clinical review are claimed. Read our methodology policy.