Decode URL components without losing plus signs
Admin ·
Decode a percent-encoded component or form value into bytes. Paste the encoded value. Enable form-data spaces only for values from form encoding.
Decode an address tag
The value sales%2Bwest+team becomes sales+west+team in ordinary percent decoding. With form-data spaces enabled it becomes sales+west team. The %2B always produces a literal plus. Only the plus already present in the input changes meaning.
Count bytes before reading characters
The UTF-8 sequence %E2%82%AC occupies three bytes and displays as one euro sign. The single byte %FF is valid binary data but cannot form a UTF-8 character. Download it and inspect FF in a hex viewer.
Rebuild a form field containing an actual plus sign
A submitted field of C%2B%2B+guide uses two encodings in the same value. In form mode, the percent-encoded pluses remain literal and the unescaped plus becomes a space. The result reads C++ guide.
When tracing a path segment, use ordinary percent decoding instead. There the unescaped plus stays a plus. Record whether your source is a path, a form value or an entire URL before interpreting a difference.
Common questions
What happens to an incomplete percent triplet?
An error points to the character where two hexadecimal digits were expected.
Can I decode a saved percent-encoded value?
Yes. Choose Local file for a UTF-8 text file containing the value. Download the decoded bytes.