Convert text to UPPERCASE, lowercase, Title Case, camelCase, snake_case, and more — instantly.
UPPERCASE converts every letter to capitals. Used for acronyms, headings, and emphasis.
lowercase converts every letter to small case. Common in programming, usernames, and casual writing.
Title Case capitalizes the first letter of each word. Standard for article titles, book titles, and headings.
Sentence case capitalizes only the first letter of each sentence, just like normal writing.
camelCase removes spaces and capitalizes each word except the first. Widely used in JavaScript variable naming.
PascalCase capitalizes every word with no spaces. Used for class names in most programming languages.
snake_case replaces spaces with underscores in lowercase. Common in Python, Ruby, and database column names.
kebab-case replaces spaces with hyphens. Standard for URL slugs, CSS class names, and HTML attributes.
The choice of capitalisation style — or "case" — matters enormously in both programming and professional writing. In code, using the wrong case convention can cause runtime errors or make your code unreadable to colleagues. In writing, correct capitalisation signals professionalism and attention to detail. Understanding the conventions for each context helps you choose the right case every time.
Programming naming conventions by language: Different programming languages have established style conventions that experienced developers follow automatically. Python uses snake_case for variable and function names (my_variable, calculate_total) and PascalCase for class names (UserProfile, DataProcessor). JavaScript uses camelCase for variables and functions (myVariable, calculateTotal) and PascalCase for classes. Constants in most languages use SCREAMING_SNAKE_CASE (MAX_RETRIES, API_BASE_URL). CSS uses kebab-case for class names and custom properties (button-primary, --brand-color). SQL uses UPPERCASE for keywords (SELECT, FROM, WHERE) by convention, though it is not required.
Title case rules: Title case is used for article titles, book titles, headlines, chapter headings, and formal document sections. The rule sounds simple but has nuances: capitalise the first and last word always, and all "major" words (nouns, verbs, adjectives, adverbs). Do not capitalise articles (a, an, the), coordinating conjunctions (and, but, or, nor, for), or short prepositions (in, on, at, to, by) unless they are the first or last word. Different style guides (AP, Chicago, APA, MLA) have slightly different rules — our converter uses the most common interpretation.
Sentence case in UI and content: Modern interface design increasingly favours sentence case over title case for headings, buttons, and labels. Research by design teams at Google and Microsoft suggests sentence case is more readable because it more closely mirrors natural language. Many major brands (Slack, Notion, Figma) use sentence case throughout their UI. The trend in UX writing is: sentence case for everything except proper nouns and the first word of a sentence.
Toggle case and its uses: Toggle case (alternating UPPER and lower) has a specific cultural history as internet slang, representing mocking or sarcastic speech patterns (the "mocking SpongeBob" meme). While rarely appropriate in professional contexts, it has legitimate uses in art direction, graphic design, and stylised brand identities. Some programming contexts also use it to visually distinguish alternating elements.
Case in URLs and file names: URLs should use lowercase letters exclusively, with hyphens as word separators (kebab-case). Most web servers treat URLs as case-sensitive (/About and /about are different pages), but by convention, lowercase is used everywhere to avoid confusion. File names follow similar conventions: kebab-case for web assets, snake_case for Python scripts, and camelCase for JavaScript/TypeScript modules. Consistent naming conventions make files easier to find, autocomplete, and maintain.