%29 is the URL-encoded right parenthesis ()).
In a URL, %29 stands for the right parenthesis ()). Here is when to encode it, what it does in each part of a URL, and what every major language outputs.
Quick facts
| Character | ) |
|---|---|
| Name | Right parenthesis |
| Unicode | U+0029 |
| UTF-8 bytes | 29 (1 byte) |
| Percent-encoded | %29 |
| Lowercase form | %29 — identical meaning |
| Double-encoded | %2529 |
| HTML form encoding | %29 |
| RFC 3986 class | Reserved — sub-delimiter |
What it means in a URL
The closing parenthesis behaves like the opening one: allowed raw, encoded as %29 by most libraries but not by encodeURIComponent or Java’s URLEncoder.
RFC 3986 class: Reserved — sub-delimiter. RFC 3986 allows it raw in paths and queries, but some schemes and servers give it meaning, so encoding it as data is the safe choice.
When to encode it
| Where it appears | What to do |
|---|---|
| Path segment | Allowed raw (encoding is also fine) |
| Query value | Allowed raw (encoding is also fine) |
| Fragment | Allowed raw |
| Form body | Encode |
The mistake to watch for
A Markdown or wiki link that stops early at the ) inside the URL, leaving the rest as plain text.
What each language produces
Left as-is by JavaScript encodeURIComponent(s), JavaScript encodeURI(s); every other function in the table encodes it. Output for the single character, UTF-8 input, tested against the real runtimes (see the encoding comparator for your own strings).
| Function | Output | |
|---|---|---|
| JavaScript encodeURIComponent(s) | ) | kept |
| JavaScript encodeURI(s) | ) | kept |
| JavaScript URLSearchParams | %29 | encoded |
| Python urllib.parse.quote(s) | %29 | encoded |
| Python quote(s, safe="") | %29 | encoded |
| Python urllib.parse.quote_plus(s) | %29 | encoded |
| PHP rawurlencode($s) | %29 | encoded |
| PHP urlencode($s) | %29 | encoded |
| Java URLEncoder.encode(s, UTF_8) | %29 | encoded |
| Go url.QueryEscape(s) | %29 | encoded |
| Go url.PathEscape(s) | %29 | encoded |
| Ruby URI.encode_www_form_component(s) | %29 | encoded |
| Ruby ERB::Util.url_encode(s) | %29 | encoded |
| C# / .NET Uri.EscapeDataString(s) | %29 | encoded |
Decoding it
decodeURIComponent('%29') returns the right parenthesis ()). Python: urllib.parse.unquote('%29'); PHP: rawurldecode('%29'). Paste any string into the URL decoder to decode it in your browser.
← %28 Left parenthesis · Full URL encoding table · %2A Asterisk →
Common questions.
%29 is the percent-encoded form of the right parenthesis ()), whose byte value is 0x29. Decoding the URL turns it back into the character.
Yes. Hex digits in percent-encoding are case-insensitive, so %29 and %29 mean the same thing. RFC 3986 recommends uppercase, and mixing cases can make caches and analytics count one URL as two.
Use your language’s encoder on the value: encodeURIComponent in JavaScript gives ), Python’s quote(s, safe="") gives %29, PHP’s rawurlencode gives %29.
More from the toolkit.
About this page. Written and maintained by Sri Murugan Systems, the developer of urlencodedecode.com. Character classes follow RFC 3986 §2; language outputs were generated by running each function in its real runtime.