🔡 Text Case Converter
Convert text to any case format instantly — camelCase, snake_case, UPPER, and more
Advertisement · 728×90
Paste or type your text
Characters: 0
Words: 0
Lines: 0
Result
Converted text will appear here…

Case Format Reference

Format Example Common Use
UPPER CASE HELLO WORLD Acronyms, emphasis, constants
lower case hello world General writing, URLs
Title Case Hello World Headings, book titles, proper nouns
Sentence case Hello world. Normal sentences, paragraphs
camelCase helloWorld JavaScript variables & functions
PascalCase HelloWorld Class names (JS, C#, Java)
snake_case hello_world Python variables, file names, SQL
kebab-case hello-world CSS classes, HTML attributes, URLs
SCREAMING_SNAKE HELLO_WORLD Constants in most languages
dot.case hello.world Config keys, package names
aLtErNaTiNg hElLo WoRlD Memes, sarcasm

What Is Text Case?

Text case refers to the capitalization pattern used for letters in a word or phrase. Different programming languages, writing styles, and platforms have strong conventions around which case to use — and mixing them up causes bugs, style guide violations, or simply looks unprofessional.

Which Case Should I Use in Code?

JavaScript: camelCase for variables and functions; PascalCase for classes; SCREAMING_SNAKE_CASE for constants.

Python: snake_case for variables, functions, and file names; PascalCase for classes; UPPER_SNAKE_CASE for constants.

CSS: kebab-case for class names and custom properties.

SQL: snake_case for column and table names (conventional, though not enforced).

URLs and file names: kebab-case is SEO-friendly and universally supported.