Case Converter

Convert text between cases

100% free. Runs entirely in your browser - your files and data never leave your device and nothing is uploaded to any server.

camelCase
helloWorldExampleText
PascalCase
HelloWorldExampleText
snake_case
hello_world_example_text
kebab-case
hello-world-example-text
UPPERCASE
HELLO WORLD EXAMPLE TEXT
lowercase
hello world example text
Title Case
Hello World Example Text
Sentence case
Hello world example text

About this tool

Changing the case of text by hand is one of those small jobs that is far more tedious than it looks - retyping a heading, fixing a sentence typed with caps lock on, or converting a list of database columns into variable names. This converter handles eight formats covering both writing and code: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case and kebab-case. The programming ones are worth knowing apart, because each belongs to a different convention. camelCase starts lowercase and capitalises subsequent words, and is standard for JavaScript and Java variables. PascalCase capitalises the first word too, and names classes and components. snake_case joins words with underscores and dominates Python and SQL column names. kebab-case uses hyphens and is what URLs, CSS classes and HTML attributes expect. Everything runs in your browser and updates as you type.

How to use this tool

  1. Paste your textType or paste anything - a single heading, a sentence, or a list of names one per line.
  2. Pick the caseChoose from the eight formats. The result appears immediately, so you can compare a few before deciding.
  3. Copy the resultCopy it straight into your document, code or spreadsheet. Your input stays in the box if you want to try another format.

Key features

  • Eight formats covering both prose and every common code naming convention.
  • Converts instantly as you type, so switching between formats costs nothing.
  • Handles multi-line input, which makes converting a whole list a single operation.
  • Runs in your browser - text is never uploaded.
  • No account and no length limit.

Common uses

  • Fixing a paragraph accidentally typed with caps lock on.
  • Converting database column names into camelCase properties for code.
  • Turning an article title into a kebab-case URL slug.
  • Renaming a batch of variables when moving between languages with different conventions.
  • Formatting headings consistently across a document.

Tips for better results

  • Sentence case is usually the better choice for headings on the web - it reads more naturally than Title Case and is what most style guides now prefer.
  • For URL slugs, kebab-case is the convention - search engines treat hyphens as word separators and underscores as joiners.
  • Convert a whole list at once by pasting it with one item per line rather than doing them individually.
  • Check acronyms after converting. Automatic casing turns "API" into "Api" in PascalCase, which may or may not be what your codebase does.
  • For URL slugs specifically, the URL Slug Generator also strips accents and punctuation, which plain case conversion does not.

Mistakes to avoid

  • Using Title Case on a URL. Uppercase letters in paths cause duplicate-content problems on case-sensitive servers.
  • Assuming Title Case follows a single rule. Style guides disagree on which short words to capitalise, so check yours if it matters.
  • Converting code identifiers without checking acronym handling - "parseHTMLString" and "parseHtmlString" are both common and mixing them is inconsistent.
  • Converting text containing proper nouns to lowercase, which strips capitalisation you wanted to keep.

Supported formats

  • Plain text

Available options

  • Upper
  • Lower
  • Title
  • Camel

Frequently asked questions

Paste your text above and pick a format. The converted result appears immediately and can be copied out - nothing is uploaded.

Yes. No account, no length limit and no processing on a server.

Eight: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case and kebab-case - covering ordinary writing and the main code naming conventions.

Only the first letter. camelCase starts lowercase (userName) and names variables and functions; PascalCase capitalises it too (UserName) and names classes, types and components.

snake_case for Python variables and SQL column names. kebab-case for URLs, CSS class names and HTML attributes - hyphens are invalid in identifiers in most languages, which is why the two conventions exist separately.

It capitalises words generally rather than applying a specific publisher's style guide, since guides disagree about which short words to lowercase. For anything following a strict house style, check the result against that guide.

Yes. Paste a list with one item per line and every line is converted, which is far quicker than doing them one at a time.

No. Conversion happens in your browser, so drafts and internal naming never leave your device.

People also search for

  • case converter online free
  • convert text to uppercase
  • camelcase converter
  • snake case to camel case
  • title case generator
  • change caps lock text to normal
  • kebab case converter

Useful in

Related guides