%url-decoder.net

%2B in a URL

The percent-encoded plus sign (+).

Short answer

%2B is the percent-encoded plus sign (+). Because many servers decode a + in a query string as a space, a literal plus sign must be written %2B to survive the trip.

Character
+
Percent-encoded
%2B
Byte value
0x2B = 43
RFC 3986 class
sub-delim
UTF-8 bytes
1

Where you will see it

  • Phone numbers in query strings: phone=%2B919876543210.
  • ISO 8601 timestamps with a time zone offset: 2026-11-04T10:00:00%2B05:30.
  • Standard Base64 values, which use + as one of their 64 characters.

What goes wrong

  • An unencoded + in a query string is read as a space by form-style parsers such as URLSearchParams, Python's parse_qs, PHP's $_GET and Go's QueryUnescape. In a URL path, + stays a plus.
  • encodeURI and the legacy escape() function leave + unencoded, so they do not protect a plus sign inside a value. encodeURIComponent does.

Decoded examples

EncodedDecodes toWhat it isOpen in the decoder
phone=%2B919876543210phone=+919876543210A phone number with its leading plus sign.Open in decoder
ts=2026-11-04T10:00:00%2B05:30ts=2026-11-04T10:00:00+05:30A timestamp whose offset would otherwise lose its plus.Open in decoder

How each language encodes +

Outputs below come from running each function, not from documentation. “Kept” means the function leaves the character as it is. Compare every character across every function.

LanguageFunctionOutput for +
JavaScriptencodeURIComponent%2B
JavaScriptencodeURIkept
JavaScriptURLSearchParams%2B
JavaScriptescape (deprecated)kept
Pythonquote (default safe='/')%2B
Pythonquote (safe='')%2B
Pythonquote_plus%2B
C#Uri.EscapeDataString%2B
C#WebUtility.UrlEncode%2B
C#HttpUtility.UrlEncode%2b

Questions

Why did my + turn into a space?

In form-encoded data a plus sign stands for a space, so servers decode a raw + as one. To send a real plus sign, encode it as %2B before putting it in a query string.

Does + mean a space in a URL path?

No. In a path a plus is just a plus. Only form-encoded data, such as query strings and form bodies, uses + for a space.

Decode or encode your own text

Paste anything containing %2B. It runs in your browser; nothing is uploaded.

Related characters

All percent-encoded characters · Full percent-encoding table · What is URL encoding?

Behaviour checked against RFC 3986, the WHATWG URL Standard and MDN. Updated November 4, 2026