U+0020
Space
Space is a monochrome text character from the Unicode Basic Latin block, listed here under Basic Latin (ASCII). Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "blank", "whitespace", "spacebar", "punctuation".
Quick facts
- Unicode
- U+0020
- Decimal
- 32
- Hex
- 0x0020
- Octal
- 0o40
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+0020 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | SPACE | |
| DecimalBase 10 | 32 | |
| HexadecimalBase 16 | 0x0020 | |
| OctalBase 8 | 0o40 | |
| BinaryBase 2 | 0000000000100000 | |
| General categorySeparator, space | Zs | |
| Unicode blockU+0000–U+007F | Basic Latin | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) |   | |
| HTML entity (hex) |   | |
| CSS content escapeUse inside content: "…" | \0020 | |
| URL encodedPercent-encoded UTF-8 | %20 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u0020 | |
| JSONUTF-16 surrogate pairs | \u0020 | |
| Python | \u0020 | |
| Java / C# / Kotlin | \u0020 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-81 byte | 20 | |
| UTF-16 (BE) | 0020 | |
| UTF-32 (BE) | 00000020 |
How to type Space
Windows
Hold Alt and type +20 with the hex numeric keypad option enabled, or type 20 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 0020. Or open Character Viewer (Control+Command+Space) and search "Space".
Linux
Press Ctrl+Shift+U, type 20, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.
HTML, CSS & code
Paste the character directly, or use the escapes above:   in HTML, \0020 in CSS, and \u0020 in JavaScript.
Official Unicode reference
- Character name
- SPACE
- Block
- Basic Latin (U+0000–U+007F)
- General category
- Zs — Separator, space
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Basic Latin block: U0000.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Space symbol?
Click the Copy button at the top of this page, or select Space and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.
What is the Unicode code point for Space?
Space is U+0020 (decimal 32, hexadecimal 0x0020, octal 0o40). It lives in the Basic Latin block (U+0000–U+007F) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Space?
The Unicode Standard (version 18.0.0) names this character "SPACE". Its General_Category is Zs (Separator, space).
What is the HTML code for Space?
Use   or  . In CSS, use content: "\0020".
How do I type Space in code?
JavaScript: "\u0020". Python: "\u0020". JSON and Java: "\u0020". The UTF-8 byte sequence is 20.
Is Space an emoji?
No. Space is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.