Text Case Converter

Text Case Converter

Please enter some text first.

Text Case Converter – All Formats in One Tool

Our text case converter supports 10 different case formats with a single click. Whether you're a developer who needs snake_case for database columns, a writer who needs Title Case for headlines, or a marketer formatting button labels in UPPERCASE, this free online tool handles them all instantly — no page refresh, no copy-paste into Word, no manual reformatting.

Available Case Formats

  • UPPERCASE: All letters capitalized. Used for headings, acronyms, and emphasis.
  • lowercase: All letters in lowercase. Common for email addresses and normalized data.
  • Title Case: First letter of major words capitalized. Used for article titles, book titles, and headings. Minor words (a, the, and, or, of, etc.) remain lowercase unless they start the title.
  • Sentence case: Only the first letter of each sentence is capitalized. Standard for body text and most UI messages.
  • camelCase: No spaces, each word after the first is capitalized. Used for JavaScript variables and function names.
  • PascalCase: No spaces, every word capitalized. Used for class names in most OOP languages.
  • snake_case: Words joined by underscores, all lowercase. Standard for Python variables, database column names, and file names in many systems.
  • kebab-case: Words joined by hyphens, all lowercase. Used for CSS class names, HTML IDs, and URL slugs.
  • SCREAMING_SNAKE_CASE: Uppercase snake_case. Convention for constants in Python, C, and Java.
  • aLtErNaTe CaSe: Alternating upper and lower case characters. Used for playful or mocking text in internet culture.

Programming Naming Conventions

Different programming languages and frameworks have established conventions for how identifiers should be written:

  • JavaScript/TypeScript: camelCase for variables and functions, PascalCase for classes and React components
  • Python: snake_case for variables and functions, PascalCase for classes, SCREAMING_SNAKE_CASE for constants
  • CSS/HTML: kebab-case for class names, IDs, and custom properties
  • Databases (SQL): snake_case for table names and column names
  • Java/C#: PascalCase for classes and methods, camelCase for local variables

Frequently Asked Questions

Does the Title Case converter follow AP or Chicago style?
The tool uses a general title case rule: all words are capitalized except minor words (articles, coordinating conjunctions, and short prepositions) unless they are the first word. This aligns broadly with Chicago style. For strict AP or APA compliance, always verify manually.
What happens to punctuation and numbers in snake_case or kebab-case?
Non-alphanumeric characters are stripped and treated as word separators. Numbers are preserved within words. So "Hello, World! 2025" becomes "hello_world_2025" in snake_case.
Can I convert multi-line text?
Yes. All converters handle multi-line input. UPPERCASE, lowercase, Sentence case, and Alternate case preserve line breaks. camelCase, PascalCase, snake_case, and kebab-case treat the entire text as a flat sequence of words, collapsing all whitespace and line breaks.
Is there a limit on the amount of text I can convert?
There is no hard limit. The conversion is done entirely in your browser using JavaScript and can handle tens of thousands of characters without any slowdown.
Why is Sentence case not capitalizing after periods?
The Sentence case converter detects periods, exclamation marks, and question marks followed by whitespace as sentence boundaries. It capitalizes the first alphabetic character after each boundary. If there are no spaces after the punctuation (e.g., run-together sentences), detection may miss that boundary.