Letter Case Style Converter
Interconvert between space separated, camel case, pascal case, snake case and kebab case.
Description
Style | Description |
---|---|
space separated | Connect words using spaces as delimiters. |
camelCase (lower camel case) | Start compound words with a lowercase letter. |
PascalCase (upper camel case) | Start compound words with a uppercase letter. |
snake_case / SNAKE_CASE | Connect words using underscores (_) as delimiters. |
kebab-case / KEBAB-CASE | Connect words using hyphens (-) as delimiters. |
To reduce the number of characters (bytes) used
camelCase or PascalCase does not require a delimiter.
Therefore, they use fewer characters (bytes) than the other styles.
To reduce the number of keystrokes on the keyboard
The difference between camelCase and PascalCase is whether the first letter is lowercase or uppercase.
PascalCase requires more keystrokes on the keyboard than camelCase because the "Shift" key must be pressed to capitalize the first letter.
The difference between snake_case and kebab-case is the difference between the delimiters _
and -
.
snake_case requires more keystrokes on the keyboard than kebab-case because the "Shift" key must be pressed to type _
.
The most efficient is camelCase
The number of characters (bytes) used and the number of keystrokes on the keyboard are the lowest with camelCase.
Therefore, camelCase is the most efficient for programming.
Conversely, snake_case is the least efficient.
Style | Input string | Number of bytes | Number of keystrokes |
---|---|---|---|
space separated | example text | 12 bytes | 12 keystrokes |
camelCase | exampleText | 11 bytes | 12 keystrokes |
PascalCase | ExampleText | 11 bytes | 13 keystrokes |
snake_case | example_text | 12 bytes | 13 keystrokes |
kebab-case | example-text | 12 bytes | 12 keystrokes |
Related sites
Related tools
News
-
2023/10/01 NEW"Fill" has been added to "Effect" in "Text Settings" of the tool "Dummy Image Generator".
You can make the text easier to read if it is difficult to read. -
2023/10/01 NEWThe tool "Text Image Generator" is no longer available.
If you have any inquiries, please contact us from here. -
2023/09/24 NEWAdded "SNAKE_CASE" and "KEBAB-CASE" to "Destination" of the tool "Letter Case Style Converter".
You can convert to uppercase SNAKE_CASE and KEBAB-CASE. -
2023/09/16Fixed conversion from "camelCase / PascalCase" to "snake_case" and "kebab-case" to be more natural
in the "Letter Case Style Converter" tool. If you find any problems or bugs, please contact us. -
2023/08/22Added "Prevent garbled" to "Text" of the tool "Braille ASCII Art Generator".
You can use emojis and characters from multiple languages at the same time.
Feedback
If you have any requests, please feel free to contact us. If you find any problems or bugs, it would be helpful if you could contact us.