Case Converter & Text Formatter
Convert text between 14 different case formats including camelCase, snake_case, kebab-case, and more with batch processing
Case Conversion Examples & Use Cases
Variable Naming Conventions
Convert between different programming language conventions.
Input: "user profile data" JavaScript: userProfileData (camelCase) Python: user_profile_data (snake_case) C#: UserProfileData (PascalCase) Constants: USER_PROFILE_DATA (CONSTANT_CASE) Perfect for converting between language conventions!Function & Method Names
Standardize function naming across codebases.
Input: "get user by email address" camelCase: getUserByEmailAddress snake_case: get_user_by_email_address PascalCase: GetUserByEmailAddress kebab-case: get-user-by-email-address Batch convert entire function lists at once!Examples
snake_case → camelCase
user_profile_iduserProfileIdSplit on underscores, lowercase the rest, then capitalize every word after the first — the standard JavaScript identifier shape.
PascalCase → kebab-case and snake_case
UserProfileIDkebab-case user-profile-id
snake_case user_profile_id
CONSTANT_CASE USER_PROFILE_ID
lower userprofileid
UPPER USERPROFILEIDThe same source identifier produced in five targets at once — useful when a backend, frontend, CSS class, and URL slug all need to agree.
Batch-convert a list of names
first name
last name
email address
phone numberfirst name → firstName, first_name, first-name
last name → lastName, last_name, last-name
email address → emailAddress, email_address, email-address
phone number → phoneNumber, phone_number, phone-numberPaste one column, get every common convention — handy for sketching a migration from a spreadsheet to an ORM model.
About this tool
Naming conventions differ across languages, databases and file systems: JavaScript variables use camelCase, React components use PascalCase, Python and SQL columns favour snake_case, URLs and CSS classes use kebab-case, and constants use CONSTANT_CASE. Retyping identifiers by hand to switch between them is tedious and introduces typos. This converter transforms text between 14 case formats instantly.
It handles single identifiers or whole lists in batch mode, with options to preserve or strip numbers and symbols, and a live preview so you can see the result before copying. It's ideal for generating URL slugs, converting API fields to database columns, or normalizing a list of names to one convention.
How to use
Enter your text
Type or paste one identifier, or many lines for batch conversion.
Pick the target case
Choose from camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and more.
Tune the options
Decide whether to preserve numbers and symbols to match your target convention.
Copy the result
Copy the converted text — a single value or the whole batch.
Use cases
Shaping API fields into database columns
JavaScript backends emit `userProfileId`; SQL schemas want `user_profile_id`. Convert between the two without hand-editing every row.
Generating URL slugs and component names
Turn a blog post title or product name into a kebab-case slug for the route, then a PascalCase identifier for the React component.
Normalizing identifiers across a codebase
Reformat a list of legacy names so style guides are satisfied everywhere — no more "userId" mixed with "user_id" in adjacent files.
Converting class/file names during a migration
Bulk-rename a folder of components when switching between frameworks — PascalCase React files to kebab-case Angular selectors, or vice versa.
Common case formats
| Format | Example |
|---|---|
| camelCase | userProfileId |
| PascalCase | UserProfileId |
| snake_case | user_profile_id |
| kebab-case | user-profile-id |
| CONSTANT_CASE | USER_PROFILE_ID |
| Title Case | User Profile Id |
Supports 14 formats with batch processing — all client-side.
Common mistakes
Mistake:Lowercasing only the first letter of a PascalCase identifier and calling it camelCase.
Fix:Without a full case conversion you lose word boundaries — `XMLHttpRequest` becomes `xMLHttpRequest`, not `xmlHttpRequest`. Let a real word-splitter handle acronyms.
Mistake:Treating numbers as part of the previous word.
Fix:Decide a policy for digits up front (`user2Id` → `user_2_id` vs `user2_id`) and apply it consistently — mixed outputs across files make search-and-replace impossible.
Mistake:Trying to hand-convert identifiers in bulk.
Fix:A single missed underscore or stray capital costs a code-review round-trip. Let the converter do it once, then paste the batch back.
Mistake:Assuming locale-independent casing for non-ASCII identifiers.
Fix:English upper/lower rules don't match Turkish (`I`/`ı`) or many other scripts — verify the tool applies Unicode default case folding consistently across the inputs you give it.
Frequently asked questions
Related guides
References & standards
Related tools
Binary Text Translator
Convert text to binary or hex bytes and decode it back
Character Frequency Analyzer
Count character, letter and word frequencies for text analysis
Find and Replace Text
Find and replace text with optional regex, case, and multiline matching
HTML to Markdown Converter
Paste HTML and get clean Markdown. Configurable heading style, bullet marker, and code block style — all processed locally in your browser.
Markdown Linter
Check Markdown for common style problems — skipped heading levels, trailing whitespace, hard tabs, missing space after #, trailing heading punctuation, long lines, and stacked blank lines
Markdown to HTML / JSX Converter
Convert Markdown to clean HTML or React JSX with GitHub-Flavored Markdown, syntax highlighting