Case Converter

Convert text between UPPER, lower, Title, camelCase, snake_case, kebab-case, PascalCase, and CONSTANT_CASE.

Case Converter

ВЕРХНИЙ РЕГИСТР
HELLO WORLD EXAMPLE TWO WORDS
нижний регистр
hello world example two words
Title Case
Hello World Example Two Words
Как в предложении
Hello world example two words
camelCase
helloWorldExampleTwoWords
PascalCase
HelloWorldExampleTwoWords
snake_case
hello_world_example_two_words
kebab-case
hello-world-example-two-words
CONSTANT_CASE
HELLO_WORLD_EXAMPLE_TWO_WORDS
dot.case
hello.world.example.two.words

Об инструменте

Programmers argue about case styles more than almost anything else. The same word ends up as userName in JavaScript, user_name in Python, UserName in C#, user-name in CSS, and USER_NAME in env files. Each style has its place, and converting between them by hand is exactly the kind of tedious work that should be done by a tool.

This converter transforms any text in real time. The input box accepts any combination of words — space-separated, hyphen-separated, underscore-separated, camelCase, or even prose — and the output updates for every style at once: UPPER CASE, lower case, Title Case, Sentence case, camelCase, snake_case, kebab-case, PascalCase, and CONSTANT_CASE.

The splitter uses a small heuristic: it first splits on separators (-, _, whitespace, transitions from lowercase to uppercase), then lowercases each token. That handles most realistic inputs (variable names, multi-word phrases, mixed delimiters) without a dictionary. It runs locally and is purely a string transform — no language model, no network. `

If you need a conversion that respects a particular programming language's idiom, you should still use a code-aware refactor tool. This converter is for quick, one-off transformations.

Частые вопросы

Похожие инструменты