Text Case Converter
Convert text to UPPERCASE, lowercase, Title Case, camelCase, snake_case, and 9 more formats — instantly, as you type. Nothing you enter leaves your browser.
Who uses this
The same tool, used differently depending on what you're working on.
Developers
Convert variable and function names between camelCase, snake_case, kebab-case, PascalCase, and CONSTANT_CASE when refactoring code or adapting to a different language's naming convention.
Writers & editors
Fix text pasted from a PDF or scanned document that came through in all-caps or random case. Apply consistent Title Case to headings without retyping them.
SEO & marketers
Generate URL-friendly slugs in kebab-case, format meta titles in Title Case, and clean up copy pulled from design tools that doesn't match your style guide.
Students
Apply the correct case to headings in essays and reports, and clean up text copied from research papers that carries over inconsistent formatting.
A quick guide to text case
UPPERCASE vs. lowercase
UPPERCASE is typically reserved for acronyms, constants, and emphasis — using it for full sentences reads as shouting in most digital writing. lowercase is the default for body text, most programming keywords, and URLs.
Programming case conventions
Different languages and style guides favor different conventions: camelCase for JavaScript variables, PascalCase for classes and React components, snake_case for Python variables, and kebab-case for CSS classes and URL slugs.
When to use Title Case vs. Sentence case
Title Case is common for headlines, page titles, and proper nouns. Sentence case — capitalizing only the first word of each sentence — is standard for body text and is increasingly used for headings in modern editorial style guides as a cleaner, less formal look.
Frequently asked questions
- What's the difference between camelCase and PascalCase?
- Both remove spaces between words, but camelCase starts with a lowercase letter (userName) while PascalCase capitalizes every word including the first (UserName). JavaScript variables typically use camelCase; class and component names typically use PascalCase.
- Does converting to Title Case handle small words like 'a' or 'the' correctly?
- This tool capitalizes the first letter of every word, which is the simplest and most predictable rule. Some style guides lowercase minor words like 'a', 'the', or 'of' in the middle of a title — if you need that specific convention, you may want to manually adjust those words after converting.
- What happens to punctuation and apostrophes?
- Punctuation is preserved as-is, and apostrophes stay attached to their word ("don't" won't be split into two words) across every format.
- Is my text sent to a server?
- No. All conversion happens in your browser using JavaScript — nothing you type or paste is transmitted or stored anywhere.
- Can I convert existing snake_case or kebab-case text to camelCase?
- Yes — the tool recognizes underscores, hyphens, and periods as word separators, so you can convert directly between code-case formats (e.g. user_name to userName) without needing to add spaces back in first.