Case Converter

Need UPPERCASE for a headline, camelCase for a variable, snake_case for a database column, or kebab-case for a URL slug? Paste your text once and the converter shows it in every common case at the same time. Output updates instantly as you type, acronym handling is configurable, and the one-click copy buttons sit next to each variant.

How case conversion works

  1. 1

    Paste your text

    Any length, any language. Unicode letters are handled correctly including accented characters.

  2. 2

    Each case variant computes in parallel

    All eight standard cases render at once — pick whichever you need.

  3. 3

    Configure acronym handling

    Keep acronyms uppercase (NASA → NASA) or convert to Pascal (NASA → Nasa). Different conventions fit different languages and codebases.

  4. 4

    Copy the version you need

    One-click copy per case. Re-paste and repeat without retyping.

The case variants

Case Example Typical use
UPPERCASE HELLO WORLD EXAMPLE Headlines, acronyms, constants in some langs
lowercase hello world example Casual text, email subjects, URLs
Title Case Hello World Example Headings, book titles
Sentence case Hello world example Body copy, UI labels
camelCase helloWorldExample JavaScript/Java variables, JSON keys
PascalCase HelloWorldExample C#/TypeScript classes, enums
snake_case hello_world_example Python, Ruby, SQL columns, config keys
kebab-case hello-world-example CSS classes, URL slugs, CLI flags
CONSTANT_CASE HELLO_WORLD_EXAMPLE Environment variables, #define constants
dot.case hello.world.example Package names, DNS, namespace paths

Title case rules

English title case capitalises the first letter of most words but not short prepositions, conjunctions or articles (unless they start or end the title). Different style guides disagree on the details:

  • Chicago: capitalise the first and last word, plus all “major” words. “a”, “the”, “and”, “or”, “but” stay lowercase.
  • APA: capitalise words of four or more letters plus the first and last.
  • AP: capitalise all principal words regardless of length.

The converter’s default is Chicago; switch the preset for others.

Tips by context

  • URL slugs: lowercase kebab-case, transliterate accented letters first (Ö → o, ñ → n).
  • Python identifiers: snake_case for functions and variables, PascalCase for classes, CONSTANT_CASE for module-level constants.
  • JavaScript identifiers: camelCase for variables and functions, PascalCase for classes and React components, SCREAMING_SNAKE_CASE only for true constants.
  • CSS: kebab-case for class names and custom properties.
  • JSON keys: camelCase in most modern APIs; some legacy systems use snake_case.
  • Database columns: snake_case is the SQL convention; PascalCase is legal but awkward to quote.

Frequently Asked Questions

By default, contiguous uppercase letters are treated as an acronym and kept together (e.g. “XMLHttpRequest” splits as XML + Http + Request). You can switch to a strict mode that treats every transition as a word boundary.

Yes. Unicode case folding is used, so accented characters (é, ñ, ü) convert correctly between upper and lower. Turkish dotted/dotless i is handled with a locale toggle.

Different style guides have different rules for small words. The default is Chicago Manual of Style; select APA or AP for alternative capitalisation rules.

Yes. Paste a block of text and each line converts independently. Line breaks are preserved in every output variant.

Related Tools