Text Case Converter

Convert text instantly between uppercase, lowercase, title case, camelCase, snake_case and more.

Ad
Ad

What is a Text Case Converter?

A text case converter transforms the capitalisation of a block of text without retyping it. Different contexts demand different cases: code identifiers follow strict conventions (JavaScript uses camelCase for variables, PascalCase for classes, and snake_case or kebab-case appear throughout CSS and databases), while human-readable copy uses sentence case for paragraphs and title case for headings. Having to manually re-type or find-replace each word is slow and error-prone β€” this tool does it in one click.

Paste any text β€” a sentence, a heading, a variable name, a JSON key, or a whole paragraph β€” click the target format, and the transformation is applied instantly in the same field. You can chain conversions (e.g. convert to snake_case then copy) and everything runs locally in your browser so sensitive content never leaves your device.


How to Use

  1. Type or paste your text into the input field.
  2. Click one of the eight case buttons β€” the text is transformed instantly in place.
  3. Click βΏ» Copy to copy the result to your clipboard, or ⬇ Download .txt to save it as a file.
  4. Click βœ• Clear to reset the field and start again.

Frequently Asked Questions

Both formats remove spaces and capitalise the first letter of each word, but camelCase keeps the very first word fully lowercase β€” e.g. myVariableName. PascalCase (also called UpperCamelCase) capitalises every word including the first β€” e.g. MyClassName. CamelCase is standard for JavaScript/TypeScript variables and functions; PascalCase is used for class names, React components, and C# identifiers.

Both replace spaces with a separator and lowercase all letters, but snake_case uses an underscore (_) while kebab-case uses a hyphen (-). Snake_case is common in Python, database column names, and file names. Kebab-case is used in CSS class names, HTML attributes, URL slugs, and some config file formats like YAML keys.

No. All conversion happens entirely in your browser using JavaScript. Your text is never sent to any server, never logged, and never stored anywhere. Closing or refreshing the tab removes it immediately. This makes the tool safe to use with sensitive content such as internal documents, API keys, or proprietary data.

Ad