'
Single quote
The single quote (') serves dual functions as an apostrophe for contractions and possessives in English grammar, and as string delimiters in programming languages, making it essential for both written communication and software development.
Technical Details
- ASCII Code
- 39
- HTML Entity
- '
- Hexadecimal
- 0x27
- Binary
- 00100111
- Octal
- 47
Usage & Examples
Programming
char symbol = '''; // ASCII 39
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 Single quote
Grammatical Foundation
Essential for English grammar, forming contractions (don't, won't, it's) and possessive forms (John's book, the cat's toy). The apostrophe eliminates ambiguity and maintains proper grammatical structure in formal and informal writing.
Programming Strings
Critical in programming languages as an alternative to double quotes for string literals, particularly useful when strings contain double quotes. Enables flexible string handling in JavaScript, Python, SQL, and countless other languages.
Typography Elegance
Provides visual distinction from double quotes in nested quotations ('quotes within "quotes"') and maintains typographic hierarchy in complex texts. Essential for proper punctuation in journalism, literature, and academic writing.
International Usage
Used in various languages for similar grammatical functions, making it a universal punctuation mark that transcends linguistic boundaries while maintaining consistent typographic appearance across cultures.
History of the Single quote
English Grammar Development
English printers and grammarians began standardizing apostrophe usage for contractions and possessives, establishing the grammatical rules that define modern English punctuation.
Literary Standardization
Major English authors and publishers codified apostrophe usage in literature, creating the conventions used in novels, poetry, and formal writing that persist today.
Educational Systems
Grammar schools and educational institutions made apostrophe usage central to English literacy, establishing it as a marker of educated writing and proper communication.
Programming Languages
Early computer languages adopted single quotes as string delimiters, creating programming conventions that made the apostrophe essential for software development worldwide.
Digital Communication
Internet communication, texting, and social media made apostrophes ubiquitous in digital writing, while programming frameworks used them extensively for web development and data processing.
Cultural Impact
The single quote became the symbol of linguistic precision and programming flexibility, enabling both grammatical correctness in human communication and technical accuracy in software development.
Usage Examples
English Contractions
ExampleStandard English contractions requiring apostrophe placement
Possessive Forms
ExamplePossessive nouns showing ownership and relationship
Programming Strings
ExampleString literals in Python, JavaScript, and SQL databases
Nested Quotations
ExampleProper punctuation hierarchy in complex quoted material