URL Component Encoder and Decoder
Encode a single value or decode URL percent escapes without leaving this page. Choose form decoding only when plus signs mean spaces.
Result
How is this calculated?
Percent escapes represent UTF-8 bytes. Form decoding additionally reads raw plus signs as spaces.
Worked example: Encode a workshop label
The space is %20; a literal plus is %2B.
Method and limits
Encode a component, not a whole URL, if you need delimiters such as / and ? to keep their URL meaning. Standard decoding preserves a literal plus sign.
How to use this calculator
- Choose Encode for plain text, Decode for percent escapes, or Decode form value when a raw plus sign represents a space.
- Paste a single value, not a complete URL, then select Convert component.
Encode a workshop label
Café + tea becomes Caf%C3%A9%20%2B%20tea. Regular decoding restores the label. Form decoding additionally reads raw + as a space.
Choose a component instead of an address
A room name or search phrase is a value. Encoding an entire address also changes separators such as / and ?, which can change how the address is interpreted.
Read the byte escapes
An escape is a percent sign and two hexadecimal digits. The UTF-8 bytes C3 A9 represent é, so one visible letter can need two escape groups.
Frequently asked questions
- Does Decode turn + into a space?
- No. Use Decode form value for that behavior. Both decoding modes turn %2B into a literal plus.
- Why does a percent sign give an error?
- A literal percent sign in encoded text must be written as %25. An incomplete escape or invalid UTF-8 byte sequence is rejected.
- Is my text sent elsewhere?
- No. The conversion runs locally and does not open the text as an address.
Common mistakes and limits
- Accepts up to 16,000 UTF-16 code units.
- Use Decode once per intentional encoding layer; the result is displayed as text, never navigated to.
Sources & methodology
Related calculators
- Base64 Converter for Text, Hex and Files
Convert text or hex bytes using standard or URL-safe Base64. Convert files separately, entirely in this browser.
- Hexadecimal Calculator & Converter
Calculate in base 16 or convert between hexadecimal and decimal, including exact fractional values.
- Binary Calculator & Converter
Calculate in base 2 or convert between binary and decimal without rounding the internal value.