DevKits

ASCII 93

Right Square Bracket (])

Printable ASCII

Right square bracket. Closes array literals and index accesses.

Common uses & context

The character ']' — Right Square Bracket — has ASCII code 93 (0x5D), octal 0135, binary 01011101. Right square bracket. Closes array literals and index accesses.

Punctuation and symbol codes carry the most syntactic weight per byte in programming: a single ']' can change how a parser reads an entire expression. When ']' needs to appear as literal data rather than syntax, you often have to escape it — in string literals, in regular expressions, in URLs (where it becomes %5D), or in HTML. Knowing its exact code point (93) helps when you filter, validate, or sanitize input byte by byte.

All encodings at a glance

Decimal93
Hexadecimal0x5D
Octal0135
Binary01011101
HTML numeric entity]
URL encoding%5D
UTF-8 bytes0x5D

Code snippets

JavaScript

String.fromCharCode(93); // "]"
93.toString(16); // "5d"

Python

chr(93)           # ']'
ord(chr(93))      # 93
hex(93)           # '0x5d'

HTML

&#93;   <!-- numeric entity (no named entity for this character) -->

Programming notes

  • Code 93 (0x5D); URL-encoded form%5D.
  • In HTML the numeric entity is &#93;.
  • When used as literal data in regex or strings, ']' usually needs escaping — check the rules for your language.

Frequently asked questions

What character is ASCII code 93?

ASCII code 93 is the character ']' (Right Square Bracket). In hexadecimal it is 0x5D, in octal 0135, and in binary 01011101.

What is 0x5D in ASCII?

Hexadecimal 0x5D equals decimal 93, which is the character ']' (Right Square Bracket). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0x5D = 93) and look up that code point.

How do I write the character with code 93 in code?

In JavaScript use String.fromCharCode(93); in Python use chr(93); in HTML use the numeric entity &#93;. In a URL it is percent-encoded as %5D, and in UTF-8 it is stored as the byte sequence 0x5D.

Nearby codes

Encode & convert this character