Text Case Examples
Last updated: July 21, 2026
Use these examples to choose the right case style for headlines, paragraphs, URLs, code identifiers, spreadsheet fields, and social copy.
Writing and publishing examples
Title case: How to Format a Blog Title. Sentence case: How to format a blog title. Uppercase: LIMITED TIME OFFER. Lowercase: lowercase cleanup for pasted notes.
Developer naming examples
camelCase: userProfileCard. PascalCase: UserProfileCard. snake_case: user_profile_card. kebab-case: user-profile-card.
URL and SEO examples
Use lowercase, hyphen-separated slugs for stable URLs, such as text-case-examples or title-case-converter. Avoid mixed-case URL variants that can create duplicate crawl paths.
Accessibility examples
Short uppercase labels can work for buttons or tags, but long paragraphs in all caps are harder to read. Use sentence case for most body copy.
Questions about Examples
Which case style is best for headlines?
Title case is common for editorial headlines; sentence case often feels clearer in product and documentation contexts.
Which case style is best for code?
Use the convention of your language or team: camelCase for many JavaScript variables, PascalCase for React components, snake_case for many Python names, and kebab-case for URL slugs.
Can I copy these examples?
Yes. They are practical examples you can use as references when formatting text.