Case Converter | camelCase, snake_case, kebab-case, PascalCase
Convert text into 12+ case styles in one place: camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, Title/Sentence case, dot.case, path/case, and lowercase/UPPERCASE. Runs privately in your browser with instant results.
How to Use This Tool
- 1
Enter words, phrases, or identifier lists in the input
- 2
Preview 10+ case styles that update instantly as you type
- 3
Use the notes beneath each style to choose the right one
- 4
Click copy to grab any converted result
- 5
For multi-line input, each line is converted independently
Use Cases & Examples
Variable & Function Name Conversion
Refactor identifiers across languages or enforce standards (e.g., snake_case ↔ camelCase).
API Endpoint & URL Slug Generation
Generate SEO-friendly slugs and REST paths in kebab- or snake-case from titles and labels.
Database Schema Design
Normalize table/column names to snake_case for readability and ORM compatibility.
CSS Class & HTML ID Generation
Produce maintainable CSS classes and IDs with kebab-case—works well with BEM and route selectors.
File & Directory Naming
Create consistent, CLI-friendly file and directory names with kebab- or snake-case across platforms.
Understanding Programming Naming Conventions
Naming conventions standardize identifiers to improve readability, consistency, tooling, and collaboration across codebases.
camelCase: first word lowercase, subsequent words capitalized (userName, getData). Common for variables/functions in JS/TS, Java, and C-family languages.
PascalCase: every word capitalized (UserName, DataService). Used for classes, components, types, and public APIs.
snake_case: lowercase with underscores (user_name). Typical in Python/Ruby and database table/column names.
SCREAMING_SNAKE_CASE: uppercase with underscores (MAX_RETRIES). Common for constants, env vars, and macros.
kebab-case: lowercase with hyphens (user-profile). Standard for URLs, CSS class names, and package names.
Other styles: dot.case (packages/DNS), path/case (paths), lowercase/UPPERCASE (simple IDs), and Title/Sentence case for UI text.
Frequently Asked Questions
Q.Which case style should I use for my programming language or project?
A. Follow language norms: JS/TS often use camelCase for variables/functions and PascalCase for classes; Python favors snake_case; URLs/CSS prefer kebab-case. Above all, stick to your project’s style guide.
Q.Are non-ASCII characters (Unicode, emojis, accents) converted?
A. Yes. Unicode letters are cased correctly (accents, Greek, Cyrillic, etc.). Non-letters (emoji, punctuation) are preserved as-is.
Q.How does the tool handle numbers, hyphens, underscores, and special characters?
A. Delimiters are normalized by the target: camelCase/PascalCase remove separators and capitalize the next letter; snake_case/kebab-case map separators to _ or -; digits are retained.
Q.Can I convert multiple lines or batches of text at once?
A. Yes. Paste multi-line input and each line is converted independently for batch workflows.
Q.Is my text uploaded or stored anywhere?
A. No. Everything runs locally in your browser; nothing is uploaded or stored.
Related Tools
Explore more developer tools
Text Reverser | Reverse Text by Characters, Words, or Lines
Reverse text by characters, words, or lines—instant, private, and Unicode-ready.
Text Trimmer | Remove Extra, Leading, and Trailing Spaces
Trim and clean text by removing or collapsing spaces. Runs locally for speed and privacy.