Underscore Symbol
Copy the underscore symbol (_) and find its Unicode codepoint, HTML entity, and Alt code.
Underscore Symbol
Click the symbol to copy it
Formats
Character
_
Unicode
U+005F
HTML entity
_
HTML decimal
_
CSS escape
\005F
URL encoded
%5F
Click any row to copy that exact string.
Common Uses
| Field | Example | Meaning |
|---|---|---|
| Variable naming | Joins words into one valid identifier where spaces are not allowed. | |
| snake_case | Common naming style in Python, Rust, and SQL. | |
| Markdown | Wraps text to render it italic. | |
| Usernames | Separates words on platforms that block spaces. | |
| File names | Keeps a file name valid across operating systems. | |
| Fill-in-the-blank | Marks a blank line to write on in a form or worksheet. |
Join words with underscores
Enter a phrase; each word is lowercased and joined with underscores into snake_case.
total_order_count
Keyboard input methods
| Platform | Shortcut |
|---|---|
| US / UK / most QWERTY layouts | Shift+Hyphen (Shift+-). |
| Windows (Alt code) | Hold Alt and type 95 on the numeric keypad (Alt+95). |
| Windows (Word/Office) | Type 005F, then press Alt+X to convert the code into the symbol. |
| macOS | Shift+Hyphen on a US layout, same as Windows. |
| Linux (IBus) | Press Ctrl+Shift+U, type 5f, then press Enter or Space. |
Copied!
Summary
Copy the underscore symbol (_) and find its Unicode codepoint, HTML entity, and Alt code.
How it works
- Click the large underscore symbol to copy the plain character to your clipboard.
- Or click any row in the Formats list to copy that exact encoded form: Unicode, HTML entity, or URL encoding.
- Switch to the Fullwidth tab to copy the wide CJK-width variant instead.
- Check the keyboard shortcut table for your OS or input method.
- Use the "Join words" box to turn a phrase into snake_case and copy the result.
Use cases
- Name a variable in code, such as user_name or total_count, where spaces are not allowed.
- Write a snake_case identifier for a database column or a Python function.
- Add emphasis in Markdown, such as _italic_ text.
- Pick a username on a platform that blocks spaces, such as john_doe.
- Fill a blank in a form or worksheet, such as "Name: ______".
- Separate words in a file name so it stays valid across operating systems, such as report_final.pdf.
- Write a CSS or SQL identifier where hyphens are not allowed, such as --my_var or my_table.
- Represent a placeholder or "fill in the blank" in a document template.
Frequently Asked Questions
Last updated: 2026-07-22 ·
Reviewed by Nham Vu