Text Case Converter
Title Case capitalizes each word. Sentence case capitalizes only the first letter. camelCase, kebab-case, and snake_case strip spaces. Related: word counter, character counter.
What Your Result Means
- UPPERCASE / lowercase: Flips every letter to all caps or all lower. Useful for headings, shouting emphasis, or normalizing data before comparison.
- Title Case: Capitalizes the first letter of every word — the standard for headlines, book titles, and proper nouns in English.
- Sentence case: Capitalizes only the first character of the text. Good for converting all-caps text back to natural-looking sentences.
- camelCase / kebab-case / snake_case: Developer naming conventions. camelCase is common in JavaScript variables, kebab-case in CSS classes and URL slugs, and snake_case in Python and database columns.
How This Calculator Works
You paste or type text and click a conversion button. The tool applies JavaScript string methods in your browser — toUpperCase(), toLowerCase(), or custom regex-based transforms for title, sentence, camel, kebab, and snake cases. No data is sent to a server; everything runs locally in your browser tab.
Quick Questions
Does Title Case handle small words like "the" and "of"?
This tool capitalizes the first letter of every word, including articles and prepositions. Formal title-case style guides (like AP or Chicago) leave certain small words lowercase, but those rules vary. You can manually adjust small words after converting.
Will camelCase work with numbers and special characters?
Numbers are preserved in place. Most special characters (punctuation, symbols) are stripped during the conversion since camelCase, kebab-case, and snake_case are designed for programming identifiers that generally only allow letters, numbers, and specific separators.
Is my text sent to a server?
No. All conversions happen entirely in your browser using JavaScript. Your text never leaves your device, so it is safe to use with confidential or sensitive content.
What is kebab-case used for?
Kebab-case (words separated by hyphens, all lowercase) is widely used in URLs, CSS class names, and HTML attributes. It is also common in file naming conventions for web projects and static sites.
Sources
- Wikipedia — Naming Convention (Programming) (overview of camelCase, snake_case, kebab-case, and other conventions)
- MDN — JavaScript String Methods (reference for toUpperCase, toLowerCase, and regex-based transforms)
Method & review
Estimate only. Results reflect your inputs and standard formulas. Double-check important decisions independently.