How to Convert Text Case
Changing the case of text by hand is slow and error-prone, especially for programming styles like camelCase or snake_case where every boundary matters. This converter does all of it at once. Type or paste your text and thirteen case styles appear together, each updating live — writing styles like Title Case and Sentence case, programming styles like camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case, and playful ones like aLtErNaTiNg and iNVERSE cASE. Behind the scenes it splits your text into words intelligently, recognising boundaries at spaces, underscores, hyphens and camel-case humps, so "fooBar_baz" converts as cleanly as "foo bar baz". Each result has its own copy button, so you take exactly the style you want. Everything runs in your browser, so your text never leaves your device.
Type or paste
Enter your text; every case style computes instantly.
Find your style
Scan the list for the case you need — writing, code or fun.
Copy it
Hit the copy button next to that style and you're done.
Programming Case Styles
camelCase & PascalCase
camelCase starts lowercase and capitalises each following word (myVariableName) — common for JavaScript variables. PascalCase capitalises the first word too (MyClassName), typically for classes and types.
snake_case, kebab-case & more
snake_case joins lowercase words with underscores (Python, SQL columns); kebab-case uses hyphens (URLs, CSS, filenames); CONSTANT_CASE is uppercase with underscores (environment variables); dot.case joins with dots for keys and namespaces.
Common Use Cases
Rename variables
Convert a phrase into camelCase or snake_case for code.
Fix headings
Turn text into Title Case for consistent headlines.
Clean up SHOUTING
Convert all-caps text back to sentence case.
Build slugs
Get kebab-case for URLs, filenames and CSS classes.
Environment variables
Produce CONSTANT_CASE names in one click.
Database columns
Generate snake_case identifiers for schemas.
Config keys
Create dot.case keys for settings and namespaces.
Stylised text
Make aLtErNaTiNg or inverse text for posts and memes.
Tips & Best Practices
Pick the right code case
Match your language: camelCase for JS variables, snake_case for Python, PascalCase for classes.
Use kebab-case for URLs
Hyphens read better than underscores in web addresses and are friendlier for SEO.
Title Case for headings
Use Title Case for headlines and Sentence case for body text to look polished.
Mind acronyms
Automatic conversion may lowercase acronyms like API; review and adjust if needed.
Start from clean words
Clear spacing or separators in the input give the most accurate conversions.
Copy the exact style
Use the per-style copy button so you never grab the wrong case by accident.
Troubleshooting
An acronym got lowercased
Conversions treat words uniformly, so API may become Api in Title Case. Adjust acronyms manually afterwards.
Words merged unexpectedly
Programming cases remove separators by design. Check the input has clear word boundaries if the split looks off.
camelCase split my compound word
The tool splits on camel humps, so alreadyCamel input is re-segmented. Paste space-separated words for full control.
Punctuation stayed in the output
Writing cases keep punctuation; programming cases strip separators. Pick the style that matches your need.
Frequently Asked Questions
How do I convert text case for free?
Type or paste your text above and every case style appears at once. Copy the one you need — free, no signup.
How many case styles are there?
Thirteen: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, Capitalize Each Word, aLtErNaTiNg and iNVERSE cASE.
What is camelCase?
A style that starts lowercase and capitalises each following word, like myVariableName — common for JavaScript variables.
What is snake_case?
Lowercase words joined by underscores, like my_variable — common in Python and database column names.
What is kebab-case?
Lowercase words joined by hyphens, like my-page-url — common in URLs, CSS classes and filenames.
Do I have to pick a mode?
No. Every style is shown at once, each with its own copy button, so there's nothing to switch.
How does it split words?
It detects boundaries at spaces, underscores, hyphens and camel-case humps, so mixed input converts cleanly.
Does it handle acronyms?
Words are treated uniformly, so acronyms like API may be re-cased. Review and adjust them if needed.
Is my text sent anywhere?
No. Everything runs in your browser, so your text never leaves your device.
Can I copy just one style?
Yes. Each result has its own copy button so you grab exactly the case you want.
Does it update as I type?
Yes. All styles recompute live with each keystroke or paste.
What is Title Case vs Sentence case?
Title Case capitalises each major word for headings; Sentence case capitalises only the first word of each sentence.
Does it work with other languages?
It handles accented and mixed-script text, though case rules are optimised for Latin scripts.
Is there a length limit?
No fixed limit — it comfortably converts long passages in your browser.
Does it work offline?
Once the page has loaded it runs entirely in your browser, so it keeps working without a connection.
What is CONSTANT_CASE for?
Uppercase words joined by underscores, typically used for constants and environment variables.
Does it work on phones?
Yes, in any modern browser on Windows, Mac, Android or iPhone with nothing to install.
Is this tool really free?
Completely free, forever — no account, no ads and no premium wall.
100% free · No signup · Processed in your browser · Data never sent
Last updated: August 2026 · FlipMyFormat Case Converter
Written and maintained by the FlipMyFormat team · Runs entirely in your browser