%url-decoder.net

%7B in a URL

The percent-encoded left curly bracket ({).

Short answer

%7B is the percent-encoded left curly bracket ({) and %7D the right one (}). Curly brackets are not allowed in URLs, so they are always encoded. They appear most often when JSON is passed in a query string and in URL templates such as /users/{id}.

Character
{
Percent-encoded
%7B
Byte value
0x7B = 123
RFC 3986 class
unsafe
UTF-8 bytes
1

Where you will see it

  • JSON in query strings: filter=%7B%22status%22%3A%22open%22%7D.
  • URL template placeholders that were never filled in: /users/%7Bid%7D.
  • Output of every standard encoding function: none of them leave a curly bracket as it is.

What goes wrong

  • A path such as /users/%7Bid%7D in your logs usually means a URL template placeholder (RFC 6570 syntax) was sent without being replaced by a value.
  • Browsers percent-encode { and } in a path when they parse a URL, so a link written with literal brackets is sent as %7B and %7D.
  • Unbalanced %7B and %7D after decoding is a quick sign that a JSON value was cut short, often by an unencoded & or # earlier in the value.

Decoded examples

EncodedDecodes toWhat it isOpen in the decoder
filter=%7B%22status%22%3A%22open%22%7Dfilter={"status":"open"}A JSON object in a query parameter.Open in decoder
/users/%7Bid%7D/users/{id}A URL template placeholder that was never filled in.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%7B
JavaScriptencodeURI%7B
JavaScriptURLSearchParams%7B
JavaScriptescape (deprecated)%7B
Pythonquote (default safe='/')%7B
Pythonquote (safe='')%7B
Pythonquote_plus%7B
C#Uri.EscapeDataString%7B
C#WebUtility.UrlEncode%7B
C#HttpUtility.UrlEncode%7b

Questions

Why does my URL show %7Bid%7D?

It is a placeholder from a URL template, {id}, that was sent as-is instead of being replaced with a real value. Check the code that builds the URL from the template.

Can I put JSON in a URL?

Yes, if the whole JSON string is percent-encoded as one value. For anything large, send it in a request body instead, because servers limit how long a URL can be.

Decode or encode your own text

Paste anything containing %7B. 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