Text Case Converter

Instantly convert text to any case — UPPER, lower, Title, camelCase, snake_case and more

Words: 0
Characters: 0
Lines: 0

About This Text Case Converter

This free text case converter supports 12 different case formats. Whether you need UPPERCASE for titles, camelCase for JavaScript variables, snake_case for Python, or kebab-case for CSS classes and URLs — convert instantly by clicking any button above.

Programming cases: camelCase and PascalCase are standard in JavaScript and Java. snake_case is preferred in Python. CONSTANT_CASE is used for constants. kebab-case appears in CSS, HTML attributes, and URL slugs. dot.case is used in configuration files and package names.

Which Case Should You Use?

The right case depends entirely on where the text is going. Using the wrong one isn't just a style issue — in code it can cause a linter error or break a build. Here's the same phrase, "hello world example", converted to every format this tool supports:

CaseResultTypical use
UPPERCASEHELLO WORLD EXAMPLEConstants in some languages, emphasis, acronyms
lowercasehello world exampleCase-insensitive comparisons, slugs
Title CaseHello World ExampleHeadings, book/article titles
Sentence caseHello world exampleBody text, form labels
camelCasehelloWorldExampleJavaScript/Java variable and function names
PascalCaseHelloWorldExampleClass names, React components, C# types
snake_casehello_world_examplePython variables, SQL/database columns
kebab-casehello-world-exampleCSS classes, HTML attributes, URL slugs
CONSTANT_CASEHELLO_WORLD_EXAMPLEConstants, environment variables
dot.casehello.world.exampleConfig keys, npm package namespacing

Frequently Asked Questions

Title Case capitalizes the first letter of each word. Used for headings and titles. "the quick brown fox" → "The Quick Brown Fox".
camelCase removes spaces and capitalizes each word after the first. Used in JavaScript variables. "my variable name" → "myVariableName".
snake_case replaces spaces with underscores and lowercases everything. Standard in Python and database columns. "my variable name" → "my_variable_name".
kebab-case replaces spaces with hyphens and lowercases everything. Used in CSS class names and URL slugs. "my variable name" → "my-variable-name".
Sentence case capitalizes only the first letter of the first word (and proper nouns). "THE QUICK BROWN FOX JUMPED" → "The quick brown fox jumped".
Both remove spaces and capitalize word boundaries. camelCase starts with a lowercase letter ("myVariable") and is used for variables/functions. PascalCase starts with a capital letter ("MyComponent") and is used for class names and React components.
Yes. Numbers pass through unchanged. Special characters and punctuation are preserved in most cases, though camelCase/snake_case/kebab-case treat spaces, hyphens, underscores, and periods as word separators.

Advertisement