SaveOnlineVideosOnline Media Toolkit

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.

UPPERCASE

result appears here

lowercase

result appears here

Title Case

result appears here

Sentence case

result appears here

camelCase

result appears here

PascalCase

result appears here

snake_case

result appears here

kebab-case

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.

1

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.

2

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.

3

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.

4

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.

FormatDescriptionBest ForQuality
UPPERCASEAll 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, labelsAll caps, spaces preserved
lowercaseAll 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 namesAll lowercase, spaces preserved
Title CaseFirst 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 linksEach word capitalised
Sentence caseOnly 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, descriptionsOnly first char uppercase
camelCaseWords 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, SwiftNo spaces, first word lowercase
PascalCaseSame 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 interfacesNo spaces, every word capitalised
snake_caseWords 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 identifiersUnderscores, all lowercase
kebab-caseWords 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 attributesHyphens, 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.

What is camelCase?
camelCase starts with a lowercase letter and capitalises the first letter of each subsequent word, with no spaces or separators: helloWorld, myVariableName, getUserById. It is the standard naming convention for variables, functions, and method names in JavaScript, TypeScript, Java, Swift, Kotlin, and C#. The name comes from the resemblance to camel humps.
What is the difference between camelCase and PascalCase?
Both join words without spaces and capitalise word boundaries, but differ in how the first word is treated. camelCase starts with a lowercase letter: myFunction, userProfile. PascalCase (also called UpperCamelCase) starts with an uppercase letter: MyFunction, UserProfile. PascalCase is used for class names, React component names, TypeScript interface and type names, and C# types.
What is snake_case used for?
snake_case uses underscores between words with all lowercase letters: user_id, get_user_by_id, created_at. It is the standard naming convention in Python (PEP 8), Ruby, Rust, PHP, and for database column names in PostgreSQL, MySQL, and SQLite. SCREAMING_SNAKE_CASE (all uppercase with underscores) is the convention for constants in Python and many other languages.
What is kebab-case used for?
kebab-case uses hyphens between all-lowercase words: my-component, font-size, border-radius. It is the standard for CSS property names, HTML data attributes (data-user-id), URL slugs in web addresses, npm package names, and file names in many JavaScript projects. Hyphens in URLs are treated as word separators by search engines, which is important for SEO.
Why does Google prefer hyphens over underscores in URLs?
Google's crawlers historically treated underscores as word joiners (making 'my_blog_post' a single token: 'myblogpost') while treating hyphens as word separators (making 'my-blog-post' three separate tokens). While Google has said they now treat both similarly, using hyphens in URL slugs remains the established SEO best practice and matches the kebab-case standard used by most web frameworks for URL generation.
Does the converter handle camelCase input correctly?
Yes. The word-boundary detection splits camelCase and PascalCase by detecting transitions from lowercase to uppercase letters (e.g. 'myVariable' → 'my', 'Variable'). It also handles consecutive uppercase sequences (e.g. 'getHTTPSClient' → 'get', 'HTTPS', 'Client') by detecting the transition from a run of uppercase letters to a mixed sequence. This allows accurate conversion of identifiers from any case format to any other.
Is there a character limit for conversion?
No fixed character limit is imposed — you can convert texts of any length. For very long texts (thousands of characters), processing is still instant because the conversion algorithm is O(n) — proportional to the length of the input with no complex operations. All conversions run simultaneously in a single pass through the text.
Can I convert database column names to API field names?
Yes. This is one of the most common use cases. Database columns typically use snake_case (user_first_name, created_at, is_active). JSON API field names typically use camelCase (userFirstName, createdAt, isActive). Paste the snake_case column name into the converter and copy the camelCase result. Many ORM frameworks (Prisma, SQLAlchemy, Django REST Framework) handle this mapping automatically, but manual conversion is still needed for raw SQL queries and API documentation.