8 naming styles · one line at a time
Kebab Case Converter
Convert words, phrases or identifiers into kebab-case, snake_case, camelCase, PascalCase, CONSTANT_CASE, dot.case, Title Case or Sentence case. Acronyms like XMLHttpRequest are split correctly.
- 100% in your browser
- Free, no signup
- 8 formats
Processed in your browser · nothing is uploaded
Convert to
All formats for “Hello World Example”
- kebab-case
hello-world-example - snake_case
hello_world_example - camelCase
helloWorldExample - PascalCase
HelloWorldExample - CONSTANT_CASE
HELLO_WORLD_EXAMPLE - dot.case
hello.world.example - Title Case
Hello World Example - Sentence case
Hello world example
This kebab case converter turns any list of words, phrases or identifiers into kebab-case, snake_case, camelCase, PascalCase, CONSTANT_CASE, dot.case, Title Case or Sentence case. Whether you need a snake_case converter for databases or a camelCase converter for code, it splits camelCase and acronyms correctly, works line by line and runs entirely in your browser.
Naming conventions at a glance
kebab-case
user-profile-settings
URLs, CSS classes, file names
snake_case
user_profile_settings
Python variables, database columns
camelCase
userProfileSettings
JavaScript variables and functions
PascalCase
UserProfileSettings
Classes, React components, types
CONSTANT_CASE
USER_PROFILE_SETTINGS
Constants and environment variables
dot.case
user.profile.settings
Config keys, translation keys
Title Case
User Profile Settings
Headings and page titles
Sentence case
User profile settings
UI labels and buttons
When to use kebab-case
Kebab-case is the standard for URL slugs, CSS class names, HTML attributes and many file names, because hyphens are readable and search engines treat them as word separators. Use it whenever a name appears in a URL. For a full slug with stop words and transliteration, use the URL slug generator. For which style belongs where in code, read kebab-case vs snake_case vs camelCase.
FAQ
Frequently asked questions
What is kebab-case?
Kebab-case writes words in lowercase joined by hyphens, like user-profile-settings. The name comes from words looking skewered on a stick.
What is the difference between kebab-case and snake_case?
Kebab-case joins words with hyphens (user-profile-settings) and snake_case uses underscores (user_profile_settings). Hyphens are preferred in URLs; underscores are common in code and databases.
How does the converter split camelCase words?
It splits at spaces, punctuation, lowercase-to-uppercase changes and the end of acronyms, so XMLHttpRequest becomes xml-http-request.
Can I convert many lines at once?
Yes. Every line is converted on its own, and you can copy the whole output in one click.
What does "Remove accents" do?
It turns accented letters into plain Latin characters, so Crème Brûlée becomes creme-brulee. Turn it off to keep the accents.
Is camelCase or kebab-case better for URLs?
Kebab-case is better for URLs. Web servers can treat URLs as case-sensitive, and search engines treat hyphens as natural word separators, making kebab-case easier to read and index.
Need a URL, not a variable name?
The URL slug generator adds stop words, transliteration and length limits on top of kebab-case.
