Text Case Converter
Convert text instantly between uppercase, lowercase, title case, camelCase, snake_case and more.
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
- Type or paste your text into the input field.
- Click one of the eight case buttons β the text is transformed instantly in place.
- Click βΏ» Copy to copy the result to your clipboard, or β¬ Download .txt to save it as a file.
- Click β Clear to reset the field and start again.
Frequently Asked Questions
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.
_) 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.