Case Converter
Convert text to UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case, kebab-case, and Sentence case instantly. Free, 100% in your browser.
Reference
What are text case formats?
Text case conventions define how words are capitalized and separated in written text and code. Different programming languages, style guides, and platforms have specific conventions — using the wrong case can break code, violate linting rules, or make content look unprofessional. This tool converts between 8 common formats instantly.
All supported text case formats
UPPERCASE: All letters capitalized. Used for constants (MAX_RETRIES), macros, environment variables, and emphasis.
lowercase: All letters lowercase. Common for URLs, CSS class names, email addresses, and filenames.
Title Case: First letter of each word capitalized. Used for article titles, headings, and book names.
Sentence case: Only the first letter of the first word capitalized. Standard for regular prose, UI labels, and body text.
camelCase: First word lowercase, subsequent words start with uppercase. The standard in JavaScript, Java, and TypeScript for variables and functions (getUserName).
PascalCase: Every word starts with uppercase. Used for class names, React/Vue components, and TypeScript interfaces (UserProfile).
snake_case: Words separated by underscores, all lowercase. Standard in Python, Ruby, Rust, and SQL (user_name).
kebab-case: Words separated by hyphens, all lowercase. Standard for CSS classes, HTML attributes, URL slugs, and CLI flags (font-size).
Which case to use where
JavaScript/TypeScript: camelCase for variables/functions, PascalCase for classes/components, UPPER_SNAKE_CASE for constants.
Python: snake_case for variables/functions, PascalCase for classes, UPPER_SNAKE_CASE for constants (PEP 8).
CSS/HTML: kebab-case for class names, IDs, and custom properties.
REST APIs: camelCase (JavaScript convention) or snake_case (Python/Ruby convention) for JSON keys — pick one and be consistent.
Database columns: snake_case is standard in PostgreSQL, MySQL, and most SQL databases.
Environment variables: UPPER_SNAKE_CASE by convention on all platforms.
Privacy
All text processing runs 100% in your browser. No data is sent to any server.