Case Converter & Slugify

Convert text between camelCase, snake_case, kebab-case, Title Case, and generate URL slugs.

Text

About the Case Converter & Slugify

Every codebase mixes naming conventions: camelCase in JavaScript, snake_case in Python and databases, kebab-case in URLs and CSS, SCREAMING_SNAKE_CASE for constants. This tool takes any text, in any of those forms or as a plain sentence, and shows it converted to all of them at once, each with its own copy button.

The slug converter is included because it is the same job with stricter rules: lowercase, accents stripped, everything that is not a letter or digit collapsed into hyphens. That is what belongs in a URL, a filename, or an ID derived from a title.

The converter understands word boundaries in existing conventions, so pasting getUserAccountId correctly becomes get_user_account_id and not one long lowercase word. Everything runs in your browser.

Your ad could be here

Reach developers and designers who use these tools every day. Privacy-first, no trackers.

Frequently asked questions

What is the difference between camelCase and PascalCase?

camelCase starts lowercase (getUserId), PascalCase starts uppercase (GetUserId). Convention: camelCase for variables and functions, PascalCase for classes, types, and React components.

How does slugify handle accents and symbols?

Accented characters are converted to their plain equivalents (é becomes e), symbols are removed, and whitespace becomes single hyphens. "Café & Restaurant Guide" becomes "cafe-restaurant-guide".

Does it handle acronyms like APIKey?

Yes, consecutive capitals are treated as one word: APIKey splits into "api" and "key", so snake_case gives api_key. Edge cases with unusual acronym placement may need a manual touch.