_
Underscore
The underscore (_) serves as a connecting character in programming, file naming, and data organization where spaces are prohibited or problematic.
Technical Details
- ASCII Code
- 95
- HTML Entity
- _
- Hexadecimal
- 0x5F
- Binary
- 01011111
- Octal
- 137
Usage & Examples
Programming
char symbol = '_'; // ASCII 95
HTML/Web
_ or _
Common Uses
How to Type This Character
Windows
Mac
💡 Pro tip: The fastest way is to bookmark this page or copy the character from our ASCII library!
Related Characters
About the Underscore
Programming Conventions
Fundamental to snake_case naming in Python, variable names in multiple languages, and database field naming. The underscore enables readable code organization while maintaining syntactic validity across programming systems.
File System Compatibility
Essential for file and folder names across operating systems that restrict spaces or special characters. The underscore provides readable separation in filenames, URLs, and system identifiers.
Database Design
Standard practice for database table and column names, ensuring compatibility across database systems and preventing syntax errors in SQL queries and data operations.
Legacy Computing
Originated from typewriter limitations where underlining required multiple character positions, evolving into a distinct character essential for modern computing and text processing.
History of the Underscore
Typewriter Development
Early typewriters used multiple backspace and underscore character combinations to create underlining effects, establishing the underscore as a distinct typographic element.
ASCII Standardization
The underscore received ASCII code 95, cementing its position in computer character sets and enabling its use in early programming languages and system naming.
Programming Languages
Languages like C and FORTRAN adopted underscores for variable naming, creating programming conventions that continue in modern software development.
Database Standards
SQL databases standardized underscore usage for table and column names, establishing data organization conventions used across enterprise systems.
Web Development
HTML, CSS, and web technologies adopted underscores for class names, IDs, and file organization, making them essential for web development and digital content management.
Cultural Impact
The underscore evolved from typewriter mechanics to become essential for digital organization, enabling readable code and file management in systems where spaces are problematic.
Usage Examples
Programming Variables
ExampleSnake_case naming convention in Python and other languages
File Naming
ExampleCross-platform compatible file organization
Database Design
ExampleSQL table and column naming conventions
Web Development
ExampleWeb element identification and styling