Skip to main content

Case Converter

Paste text and instantly convert it to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, or kebab-case.

Ad (leaderboard)
UPPERCASE
lowercase
Title Case
Sentence case
camelCase
snake_case
kebab-case
Rate this tool
0.0 / 5 · 0 ratings

Embed This Calculator

Add this calculator to your website for free. Copy the single line of code below and paste it into your HTML. The calculator auto-resizes to fit your page.

<script src="https://calchammer.com/embed.js" data-calculator="case-converter" data-category="everyday"></script>
data-theme "light", "dark", or "auto"
data-values Pre-fill inputs, e.g. "amount=1000"
data-max-width Max width, e.g. "600px"
data-border "true" or "false"
Or use an iframe instead
<iframe src="https://calchammer.com/embed/everyday/case-converter" width="100%" height="500" style="border:none;border-radius:12px;" title="Case Converter Calculator"></iframe>

Preview

yoursite.com/blog
Case Converter Calculator auto-resizes here
Ad (in_results)

How to Use the Case Converter

Type or paste your text into the input area and all seven case conversions appear instantly. Each result has its own copy button for quick access. Use this tool when you need to convert text for code, headings, URLs, database fields, or any context with specific casing requirements. The converter works entirely in your browser for speed and privacy.

The case converter handles multi-word text, camelCase input, underscored text, and hyphenated text. It intelligently splits words based on spaces, underscores, hyphens, and camelCase boundaries to produce correct output for each target case. Whether you are converting a heading to a URL slug, a sentence to a variable name, or reformatting pasted text, this tool does it in real time.

Ad (in_content)

Understanding Text Cases

Different text cases serve different purposes across writing and programming. UPPERCASE creates emphasis and is standard for constants in programming. lowercase is the default for body text and many programming identifiers. Title Case formats headings and titles properly. Sentence case provides natural reading flow for paragraphs and casual headings. Programming cases like camelCase, snake_case, and kebab-case each have specific use cases in different languages and contexts.

Programming Case Conventions

In JavaScript, camelCase is used for variables and functions while PascalCase is used for classes. Python and Ruby use snake_case for variables, functions, and file names. CSS uses kebab-case for class names and properties. SQL typically uses snake_case for column names and UPPERCASE for keywords. Following the correct case convention makes code more readable and consistent with community standards.

Writing and Publishing Cases

AP style uses Title Case for headlines. APA style uses Sentence case for reference titles. Book titles use Title Case. Email subject lines typically use Sentence case. Button labels in user interfaces often use Title Case or UPPERCASE. Understanding when to use each case ensures your text looks professional and follows the appropriate style guide for your context.

Frequently Asked Questions

What is Title Case?

Title Case capitalizes the first letter of every word. Used for headings, article titles, and book titles.

What is camelCase?

camelCase joins words without spaces, capitalizing each word except the first. Standard in JavaScript and Java for variables and functions.

What is snake_case?

snake_case joins words with underscores in lowercase. Standard in Python, Ruby, and database column names.

What is kebab-case?

kebab-case joins words with hyphens in lowercase. Used in URLs, CSS class names, and file names.

When should I use Sentence case vs Title Case?

Sentence case for body text and casual headings. Title Case for formal headings and titles. Most modern guides prefer Sentence case for readability.

Related Calculators

Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and should not be considered professional expert advice. Consult a qualified professional before making decisions based on these calculations. See our full Disclaimer.