Text Tools
Case Converter Tool | Convert Text to Uppercase, Lowercase, Title Case & camelCase
Free online case converter tool to instantly convert text into uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, alternating case, reverse text, slug format, and more.
Case Converter
Convert text instantly between lowercase, uppercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Train-Case, alternating case, toggle case, slug format, reverse text, and more.
lowercase
hello world example text
UPPERCASE
HELLO WORLD EXAMPLE TEXT
Sentence case
Hello world example text
Title Case
Hello World Example Text
Capitalized Case
Hello World Example Text
camelCase
helloWorldExampleText
PascalCase
HelloWorldExampleText
snake_case
hello_world_example_text
kebab-case
hello-world-example-text
CONSTANT_CASE
HELLO_WORLD_EXAMPLE_TEXT
dot.case
hello.world.example.text
path/case
hello/world/example/text
Train-Case
Hello-World-Example-Text
slug-case
hello-world-example-text
tOGGLE cASE
HELLO WORLD EXAMPLE TEXT
aLtErNaTiNg cAsE
HeLlO wOrLd ExAmPlE tExT
AlTeRnAtInG CaSe
hElLo WoRlD eXaMpLe TeXt
No spaces
helloworldexampletext
No line breaks
hello world example text
Reverse text
txet elpmaxe dlrow olleh
Saved text history
Save useful text snippets and quickly reuse them later on this device.
Page guide
On this page
Jump to case formats, programming naming conventions, examples, FAQs, and related tools.
Recommended Eye Care Product
Working all day in front of a screen?
A quality eye cream or screen protection can help reduce eye strain, dryness, and fatigue during long hours of computer work.
This section may contain affiliate links.

What is a case converter?
A case converter is a text tool that changes the capitalization and word format of your content automatically. Instead of editing text by hand, you can paste your words into the converter and instantly switch between lowercase, UPPERCASE, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case.
This is useful for writers, students, developers, editors, content creators, and anyone who needs to clean up or reformat text quickly. It saves time, reduces formatting mistakes, and makes it easier to prepare text for articles, headings, code, file names, and URLs.
How this case converter works
This tool takes your text, separates it into words, and rebuilds it in different text styles.
It is useful for writing, coding, naming variables, formatting headings, and cleaning up copied text.
Common text case formats explained
lowercase
Lowercase changes all letters into small letters. Example:hello world example text
UPPERCASE
Uppercase changes all letters into capital letters. Example:HELLO WORLD EXAMPLE TEXT
Sentence case
Sentence case capitalizes the first letter of the sentence and keeps the rest mostly lowercase. Example:Hello world example text
Title Case
Title Case capitalizes the first letter of each word. Example:Hello World Example Text
Capitalized Case
Capitalized Case capitalizes the first letter of every word and lowercases the remaining letters. Example:Hello World Example Text
camelCase
camelCase starts with a lowercase word, then capitalizes each next word without spaces. Example:helloWorldExampleText
PascalCase
PascalCase capitalizes every word and removes spaces. Example:HelloWorldExampleText
snake_case
snake_case uses lowercase letters with underscores between words. Example:hello_world_example_text
kebab-case
kebab-case uses lowercase letters with hyphens between words. Example:hello-world-example-text
CONSTANT_CASE
CONSTANT_CASE uses uppercase letters with underscores between words, often for constants and environment variables. Example:HELLO_WORLD_EXAMPLE_TEXT
dot.case
dot.case uses lowercase words separated by periods. Example:hello.world.example.text
path/case
path/case uses lowercase words separated by forward slashes, often for folder-style paths. Example:hello/world/example/text
Train-Case
Train-Case capitalizes each word and separates words with hyphens. Example:Hello-World-Example-Text
slug-case
slug-case creates URL-friendly lowercase text separated by hyphens. Example:hello-world-example-text
tOGGLE cASE
Toggle case switches uppercase letters to lowercase and lowercase letters to uppercase. Example:HELLO world → hello WORLD
aLtErNaTiNg cAsE
Alternating case changes letters between uppercase and lowercase for a stylized effect. Example:hElLo WoRlD eXaMpLe TeXt
No spaces
No spaces removes spaces from the text while keeping the original letter casing. Example:helloworldexampletext
No line breaks
No line breaks turns multi-line text into a single line. Example:hello world example text
Reverse text
Reverse text flips the character order from end to beginning. Example:txet elpmaxe dlrow olleh
Text case format comparison table
| Format | Example | Common use |
|---|---|---|
| lowercase | hello world example | Body text, tags, simplified formatting |
| UPPERCASE | HELLO WORLD EXAMPLE | Labels, emphasis, acronyms |
| Sentence case | Hello world example | Natural writing and UI text |
| Title Case | Hello World Example | Titles, headings, article names |
| Capitalized Case | Hello World Example | Headings and readable word formatting |
| camelCase | helloWorldExample | JavaScript variables and functions |
| PascalCase | HelloWorldExample | React components, classes, types |
| snake_case | hello_world_example | Python, databases, system fields |
| kebab-case | hello-world-example | URLs, slugs, CSS naming |
| CONSTANT_CASE | HELLO_WORLD_EXAMPLE | Constants and environment variables |
| dot.case | hello.world.example | Config keys and namespaced text |
| path/case | hello/world/example | Folder paths and route-like text |
| Train-Case | Hello-World-Example | Readable hyphenated titles |
| slug-case | hello-world-example | SEO-friendly URLs and slugs |
| tOGGLE cASE | HELLO world → hello WORLD | Fixing caps lock mistakes |
| aLtErNaTiNg cAsE | hElLo WoRlD eXaMpLe | Stylized social text |
| No spaces | helloworldexample | Compact usernames or identifiers |
| No line breaks | hello world example | Cleaning copied multi-line text |
| Reverse text | elpmaxe dlrow olleh | Reverse text effects |
Text case formats used in programming
Text case formats are widely used in programming, file naming, databases, APIs, URLs, and front-end development. A case converter can quickly turn normal text into code-friendly naming styles such as camelCase, PascalCase, snake_case, and kebab-case.
In JavaScript and TypeScript, camelCase is commonly used for variables and functions, while PascalCase is often used for React components, classes, and type names. In Python and database fields, snake_case is frequently used for readable multi-word names.
For web pages, URLs, CSS class names, and SEO-friendly slugs, kebab-case is often preferred because hyphens are easy to read and work well in web addresses.
Popular developer naming conventions
Different programming languages and frameworks use different naming conventions for variables, functions, classes, components, files, and URLs.
JavaScript commonly uses camelCase, React components often use PascalCase, Python prefers snake_case, and URLs usually use kebab-case or slug-case formats.
CONSTANT_CASE is often used for environment variables, configuration constants, and immutable values in software projects.
Advanced text transformation formats
Advanced text formats are commonly used in programming, automation, SEO, URL generation, APIs, file systems, databases, and technical workflows.
Formats such as CONSTANT_CASE, dot.case, path/case, Train-Case, and slug-case help standardize text for different platforms and naming systems.
Toggle case, alternating case, and reverse text are also popular for stylistic writing, social media formatting, usernames, memes, branding, and experimental text styling.
When to use lowercase, uppercase, title case, and sentence case
Lowercase is often used for normal body text, tags, file handling, and simplified formatting. Uppercase is useful for emphasis, abbreviations, labels, or headings that need strong visual impact.
Title Case is common for blog post titles, page titles, and section headers. Sentence case is usually better for normal writing, interface labels, and content that should read naturally.
Choosing the right text case improves readability, consistency, and professionalism, especially when working across articles, websites, documents, and software projects.
camelCase vs PascalCase vs snake_case vs kebab-case
These formats are especially important in coding, technical writing, and digital publishing. camelCase and PascalCase are common in programming languages, especially for variables, functions, classes, and components.
snake_case is widely used in databases, Python naming, and system identifiers. kebab-case is common for clean URLs, CSS-related naming, slugs, and web-friendly file patterns.
If you regularly work with code, APIs, file names, or SEO-friendly web content, converting between these formats quickly can save a lot of time and prevent naming errors.
How to use this case converter
Paste or type your text into the text box above. The converter will instantly generate multiple versions of the same text, including lowercase, UPPERCASE, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case.
Choose the format you need, then copy the result and paste it into your document, website, code editor, spreadsheet, article, file name, or URL field.
This is especially useful when cleaning copied text, fixing accidental capitalization, preparing headings, formatting code names, or creating consistent text for digital projects.
Why use an online case converter?
An online case converter saves time by changing text formatting instantly instead of requiring manual editing. It is useful when cleaning pasted content, fixing accidental capitalization, preparing article headings, formatting variable names, or creating URL-friendly text.
The tool also helps keep formatting consistent across documents, websites, databases, spreadsheets, code editors, and social media content. Consistent text formatting improves readability, professionalism, and organization.
Writers, developers, students, marketers, editors, and content creators often use case conversion tools to speed up repetitive formatting tasks and reduce manual mistakes when working with large amounts of text.
Instead of rewriting each word manually, you can instantly convert text into lowercase, uppercase, title case, sentence case, camelCase, PascalCase, snake_case, or kebab-case with a single tool.
Best use cases for a case converter
A case converter is useful for reformatting article titles, cleaning copied text, standardizing headings, preparing social media captions, formatting spreadsheet labels, and creating consistent text for documents, websites, and digital content.
Developers can use it to convert plain text into programming naming conventions such as camelCase for JavaScript variables, PascalCase for React components, snake_case for Python or database fields, CONSTANT_CASE for environment variables, and kebab-case for CSS classes, file names, routes, and URL slugs.
SEO specialists and content creators can use the tool to prepare page titles, meta title drafts, URL-friendly slugs, headings, tags, product names, and reusable formatting variations without manually rewriting the same text.
It is also helpful for automation, APIs, data cleanup, database naming, spreadsheet imports, file organization, technical documentation, and quick text transformation tasks where consistency matters.
Frequently asked questions about text case formats
What is the difference between title case and sentence case?
Title case capitalizes the first letter of each main word, while sentence case usually capitalizes only the first letter of the sentence.
Is camelCase the same as PascalCase?
No. camelCase begins with a lowercase word, while PascalCase begins with a capitalized word.
What is snake_case used for?
snake_case is commonly used in programming, databases, and systems where words are separated with underscores.
What is kebab-case used for?
kebab-case is often used in URLs, slugs, CSS naming, and web-friendly text structures because hyphens are easy to read.
Can I use this case converter for code and writing?
Yes. It is useful for both normal writing and technical use cases such as variables, components, file names, and formatting tasks.
Related tools
Math Calculators
Explore all math tools including calculators for algebra, geometry, statistics, and more advanced problem solving.
Online Notepad
Write notes, edit text, open TXT files, auto-save notes, copy, print, and download text as a TXT file.
Numbers Converter
Convert decimal, binary, octal, hexadecimal, Roman numerals, and number words.
Binary Calculator
Work with binary numbers, conversions, and number-system calculations.
Hex Calculator
Convert and calculate hexadecimal values for coding, web, and technical work.
Scientific Calculator
Helpful when your text work overlaps with formulas, coding notes, or technical documentation.
Home
Explore more calculators, converters, and utility tools across the site.