텍스트
Case Converter
텍스트나 식별자를 camelCase, snake_case, kebab-case 등 흔히 쓰이는 모든 스타일로 한 번에 변환. camelCase/PascalCase, 약어(XMLParser → XML + Parser), 숫자에서 단어 경계를 인식.
The tool detects word boundaries in any text or identifier — spaces, underscores, hyphens, camelCase/PascalCase boundaries, and abbreviations — and instantly converts the result into every common naming style.
Naming styles
- camelCase — first word lowercase, every following word capitalized, no separators (myVariableName).
- PascalCase — every word capitalized (MyClassName) — typical for class names.
- snake_case — all words lowercase, joined with underscores (my_variable_name) — common in Python and databases.
- kebab-case — words joined with hyphens (my-page-name) — the standard for URLs and CSS classes.
- CONSTANT_CASE, Title Case, Sentence case — for constants and readable headings.
Common uses
- Renaming a variable or function to match another language's convention (e.g. Python's snake_case → JavaScript's camelCase).
- Turning an article title into a URL slug.
- Normalizing database column names or API fields to one consistent style.
Things to keep in mind
Abbreviations (XMLParser, HTTPClient) are recognized as single words automatically, so conversion doesn't break them into individual letters.
Converting to lower case or UPPER CASE is irreversible — keep the original around if you'll need it back.
이 도구에 대한 아티클: camelCase, snake_case, kebab-case: 언제 어떤 스타일을 쓸까
자주 묻는 질문
어떤 명명 스타일로 변환할 수 있나요?
camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, lower case, UPPER CASE, dot.case, path/case 등 실무에서 흔히 쓰이는 스타일을 모두 지원합니다.
camelCase나 PascalCase의 단어 경계는 어떻게 인식하나요?
대문자가 시작되는 지점, 연속된 약어(예: XMLParser → XML + Parser), 문자와 숫자의 경계를 함께 분석해 단어를 구분합니다.
입력한 텍스트가 서버로 전송되나요?
아니요. 변환은 브라우저 안에서 자바스크립트로만 처리되며 입력한 내용은 서버로 전송되지 않습니다.
코드에서 대소문자가 왜 중요한가요?
대부분의 프로그래밍 언어에서 대소문자는 기술적으로 실행에 영향을 주지 않지만(식별자에서 대소문자를 구분하는 경우 제외), 일관된 스타일은 가독성뿐 아니라 특정 종류의 엔티티에 특정 스타일을 기대하는 린터, IDE, 문서 생성기에도 중요합니다.
변환 후 원래 텍스트로 되돌릴 수 있나요?
항상 정확히 되돌릴 수 있는 것은 아닙니다. 원본이 대소문자가 섞여 있었다면 소문자나 대문자로 변환하는 순간 어떤 글자가 원래 대문자였는지에 대한 정보가 사라져 되돌릴 수 없습니다.