-
Hyphen
The hyphen (-) connects compound words and serves as the subtraction operator in mathematics while playing crucial roles in programming, web addresses, and data formatting.
Technical Details
- ASCII Code
- 45
- HTML Entity
- -
- Hexadecimal
- 0x2D
- Binary
- 00101101
- Octal
- 55
Usage & Examples
Programming
char symbol = '-'; // ASCII 45
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 Hyphen
Word Formation
The hyphen creates compound words (mother-in-law, twenty-one) and connects prefixes to words, enabling precise language expression and preventing ambiguity in meaning. It's essential for maintaining clarity in complex vocabulary.
Mathematical Operations
Serves as the universal minus sign for subtraction and negative number indication. The hyphen enables mathematical calculation in arithmetic, algebra, and computational systems worldwide.
Digital Addressing
Critical for domain names, URLs, and file naming conventions where spaces aren't allowed. The hyphen enables readable web addresses and maintains SEO-friendly formatting in digital systems.
Data Organization
Used for ranges (pages 10-20), dates (2024-01-15), and code organization. The hyphen structures information in databases, programming, and document formatting systems.
History of the Hyphen
Manuscript Origins
Medieval scribes used horizontal lines to connect broken words at line endings, establishing the hyphen's role in maintaining word integrity across text lines.
Printing Standardization
Early printers standardized hyphen usage for compound words and line breaks, creating typographic conventions that persist in modern publishing and design.
Mathematical Symbol
Robert Recorde's mathematical texts began using the horizontal line for subtraction, establishing the hyphen/minus sign's mathematical significance in arithmetic.
Domain Name System
The Internet's DNS allowed hyphens in domain names, making them essential for readable web addresses and international domain naming conventions.
Programming Conventions
Software development adopted hyphen-separated naming (kebab-case) for CSS classes, file names, and URL structures, establishing modern coding conventions.
Cultural Impact
The hyphen became essential for connecting ideas, words, and digital resources, evolving from medieval text formatting to enable modern web navigation and programming practices.
Usage Examples
Compound Words
ExampleWord formation and clarity in complex expressions
Mathematical Operations
ExampleSubtraction operator and negative number indication
Web Addresses
ExampleURL formatting and SEO-friendly web addresses
Data Formatting
ExampleStandardized data organization and identification systems