Free Text Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case, kebab-case, and Sentence case. All 8 results update instantly as you type.
result appears here
result appears here
result appears here
result appears here
result appears here
result appears here
result appears here
result appears here
All conversion happens in your browser — your text never leaves your device.
About Free Text Case Converter
Naming conventions are one of the most fundamental yet often inconsistent aspects of software development. Different programming languages, frameworks, and systems have established different conventions for how identifiers — variable names, function names, class names, file names, database column names, CSS classes, and API field names — should be formatted. Switching between these conventions manually is tedious and error-prone, especially when renaming things across multiple files or transforming data from one system to another.
Our free text case converter handles all eight major case formats simultaneously. Type or paste any text — in any case format — into the input field, and all eight conversions update instantly below. You do not need to select which format you are converting from; the tool automatically splits your input into words by recognising camelCase word boundaries, PascalCase transitions, hyphen and underscore separators, and whitespace. This makes it equally useful for converting 'myVariableName' to 'my_variable_name' (snake_case), 'My Variable Name' to 'MY_VARIABLE_NAME' (if needed), or 'font-size' to 'fontSize' (camelCase). Each result can be copied individually with a single click, and clicking a result panel expands it into a larger view for easier reading and copying. All processing happens in your browser using JavaScript string manipulation — no data is sent to any server.
Key Features
Everything you need — no software installation required.
All 8 Case Formats Simultaneously
All eight case conversions — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case — are displayed simultaneously and update instantly as you type. No need to select the target format, click a button, or process separately — see all results at once and copy the one you need.
Smart Word Boundary Detection
The converter automatically detects word boundaries regardless of the input format. It splits on whitespace, underscores, hyphens, and camelCase/PascalCase transitions (recognising that 'myVariableName' contains three words: 'my', 'variable', 'name'). This means you can paste text in any case format and get correct conversions for all other formats.
One-Click Copy for Each Format
Every case result has a Copy button. Click it to copy that specific result to your clipboard without selecting or highlighting text. The button shows a green 'Copied!' confirmation so you know the clipboard was updated. Works across all modern browsers on desktop and mobile.
Expanded Result View
Click any result card to expand it into a larger display panel below the grid. The expanded view makes it easier to read and copy long converted strings like deeply nested snake_case identifiers or long kebab-case class names. Click the expanded result's Copy button to copy the full text.
Word and Character Count
The stats bar below the input shows the total character count and word count (based on the word-boundary detection logic). These metrics update in real time as you type, providing a quick reference for copywriting character limits, database column name length restrictions, and other constraints.
100% Private — Browser-Only
All text processing uses JavaScript string manipulation running in your browser. No text is sent to any server. The tool is safe to use with proprietary code, sensitive variable names, internal API field names, and any other confidential text content.
How to Use Free Text Case Converter
Get your result in seconds — completely free, no registration needed.
Type or paste your text
Enter any text in the input field — it can be in any case format: a sentence, a camelCase variable name, an UPPERCASE constant, or a kebab-case CSS class. The word count and character count update instantly.
See all 8 conversions
All eight case format results — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case — appear instantly below the input. They update in real time as you type, so you can see the effect of each additional character.
Click to expand and copy
Click any result card to expand it into a larger view. Copy individual results by clicking the Copy button in each card. For long identifiers, the expanded view makes it easier to read the full result and verify it is correct before copying.
Paste into your project
Paste the copied result directly into your code editor, documentation, database migration script, CSS file, or wherever the converted text is needed. All eight conversions are ready simultaneously so you can copy different formats for different files in sequence.
Case Format Reference
Wide format support ensures compatibility with virtually any file you upload.
| Format | Description | Best For | Quality |
|---|---|---|---|
| UPPERCASE | All characters converted to capital letters. Preserves spaces and other characters unchanged. Commonly used for constants in many languages (MAX_RETRY_COUNT uses SCREAMING_SNAKE_CASE which is a variant). | Headings, emphasis, SQL keywords, labels | All caps, spaces preserved |
| lowercase | All characters converted to small letters. Preserves spaces and other characters. Used for normalising user input, case-insensitive comparisons, and many file-naming conventions. | Normalisation, comparisons, simple file names | All lowercase, spaces preserved |
| Title Case | First letter of each word capitalised, rest lowercase. Words are split on whitespace. Used for article titles, product names, headings, and navigation labels. | Blog titles, headings, product names, nav links | Each word capitalised |
| Sentence case | Only the first character of the entire text is capitalised; everything else is lowercase. Used for standard prose sentences, form labels, and button text. | Sentences, form labels, button text, descriptions | Only first char uppercase |
| camelCase | Words joined without spaces; first word all lowercase, subsequent words start with uppercase. Standard in JavaScript, TypeScript, Java, Swift, Kotlin, and C# for variables and function names. | JavaScript/TypeScript variables and functions, Java, Swift | No spaces, first word lowercase |
| PascalCase | Same as camelCase but the first word also starts with uppercase. Standard for class names, React component names, TypeScript interfaces, and C# types. | Class names, React components, TypeScript interfaces | No spaces, every word capitalised |
| snake_case | Words joined with underscores, all lowercase. Standard in Python, Ruby, Rust, database column names, Django model fields, PostgreSQL column names, and many file-naming conventions. | Python variables, database columns, Rust identifiers | Underscores, all lowercase |
| kebab-case | Words joined with hyphens, all lowercase. Standard for CSS class names, HTML attributes, URL slugs, npm package names, and file names in many JavaScript projects (ESLint uses kebab-case filenames). | CSS classes, URL slugs, npm packages, HTML attributes | Hyphens, all lowercase |
Who Uses Free Text Case Converter?
Trusted by millions of users across different industries and workflows.
Software Developers
Convert variable names, function names, class names, and file names between the conventions of different languages. Convert a Python snake_case field name to the JavaScript camelCase equivalent when building a full-stack application. Rename database columns (snake_case) to API response fields (camelCase) consistently.
Front-End Developers
Convert component names (PascalCase in JSX), CSS class names (kebab-case), and JavaScript prop names (camelCase) between each other. When building a design system, maintain consistent naming by converting design token names from kebab-case (color-primary-500) to the equivalent JavaScript constant name.
Database Developers
Database column names in PostgreSQL and MySQL conventionally use snake_case. ORM frameworks like SQLAlchemy (Python) and Prisma (TypeScript) automatically map snake_case column names to camelCase properties. Use this converter to quickly derive the camelCase equivalent of any snake_case column name for use in application code.
Technical Writers
Convert technical identifiers from code (camelCase function names, snake_case field names) to readable Title Case or Sentence case for use in API documentation, user guides, release notes, and technical articles without manual capitalisation.
API Developers
Many API design conventions specify camelCase for JSON field names (JavaScript convention) while database schemas use snake_case. Convert field names between these conventions when designing APIs, writing OpenAPI specs, or mapping between request/response models and database models.
Content & SEO
Convert page titles or article headings to URL-friendly kebab-case slugs. Convert category names and tag names to consistent lowercase for URL generation. Generate consistent file names for blog posts, documentation pages, and static site pages from their human-readable titles.
Why Choose Our Tool?
Built for speed, privacy, and reliability — everything works right in your browser.
All 8 formats at once
Unlike single-format converters that require separate operations for each target case, this tool shows all 8 case conversions simultaneously. Copy any one (or several) without re-processing.
Works with any input format
Smart word boundary detection handles camelCase, PascalCase, snake_case, kebab-case, and plain text as input. You do not need to specify the source format — the tool figures it out automatically.
No account or registration
Open the tool, type or paste text, see all results instantly, copy. No sign-up, no email, no subscription required. Completely free and immediately available.
Works offline after page load
All processing uses JavaScript string manipulation in your browser. The tool works without an internet connection once the page has loaded.
Pro Tips & Best Practices
Get the best results with these expert recommendations.
Paste camelCase to get all other formats
If you have a camelCase variable name (e.g. userProfileData) and need it in snake_case for a database column name, paste the camelCase identifier and copy the snake_case result. The smart splitter correctly identifies the word boundaries from the capital letters.
Use kebab-case for URL slugs and file names
URL slugs should always be lowercase and use hyphens as separators (kebab-case). This is because URLs are case-sensitive on some servers, and hyphens are treated as word separators by search engines (unlike underscores, which Google treats as part of the word). Always use kebab-case for blog post URLs, documentation page slugs, and npm package names.
PascalCase for React components
React requires component names to start with an uppercase letter to distinguish them from native DOM elements. If a component is named in another format (e.g. from a design tool or file name), convert it to PascalCase before using it as a React component name. All custom React components and Next.js page components should use PascalCase naming.
snake_case matches PostgreSQL conventions
PostgreSQL column names are case-insensitive and conventionally use snake_case. If you are designing a PostgreSQL schema based on application model fields (which may be in camelCase), convert the field names to snake_case for the database schema. ORMs like Prisma and Drizzle ORM handle this mapping automatically, but knowing both forms helps when writing raw SQL.
Related Tools
More free online tools you might find useful.
Frequently Asked Questions
Everything you need to know about Free Text Case Converter.