시간대 변환기
텍스트를 대문자, 소문자, 제목 표기, camelCase, PascalCase, snake_case, kebab-case로 즉시 변환하세요.
이 도구에 대해
필요한 대소문자 형식으로 텍스트를 변환하세요. 프로그래밍 대소문자 형식(camelCase, PascalCase, snake_case, kebab-case)과 표준 글쓰기 형식(대문자, 소문자, 제목, 문장)을 포함한 8가지 변환 모드를 지원합니다. 코딩, SEO, 콘텐츠 작성에 유용합니다.
사용 방법
- 1 입력 필드에 텍스트를 붙여넣거나 입력하세요.
- 2 변환 버튼을 클릭하여 해당 대소문자 형식을 적용하세요.
- 3 변환된 텍스트가 즉시 출력 필드에 나타납니다.
- 4 '복사'를 클릭하여 결과를 복사하세요.
What "case" really means in text and code
Letter case is more than an aesthetic choice. In prose, capitalization signals the start of a sentence or a proper noun. In code, the case convention you pick is a hard rule enforced by linters, style guides, and sometimes the language itself: userId and user_id are two different identifiers, and mixing them breaks software. This converter does the tedious re-typing for you, transforming a single block of text into any of ten case styles instantly and entirely inside your browser.
The ten formats and where each belongs
| Format | "hello world example" becomes | Typical use |
|---|---|---|
| UPPERCASE | HELLO WORLD EXAMPLE | Headings, emphasis, constants in legacy code |
| lowercase | hello world example | Tags, email addresses, normalization |
| Title Case | Hello World Example | Headlines, book and article titles |
| Sentence case | Hello world example | Body copy, UI labels, descriptions |
| camelCase | helloWorldExample | JavaScript and Java variables, JSON keys |
| PascalCase | HelloWorldExample | Class and component names |
| snake_case | hello_world_example | Python variables, database columns |
| kebab-case | hello-world-example | URL slugs, CSS classes, HTML attributes |
| CONSTANT_CASE | HELLO_WORLD_EXAMPLE | Environment variables, fixed constants |
| dot.case | hello.world.example | Config keys, namespaced properties |
How the converter splits words — and why that matters
Every transformation starts by breaking your text into words. The clever part is that the tool recognizes boundaries that have no visible separator. It inserts a split between a lowercase letter and an uppercase one (so helloWorld is read as two words), and it handles runs of capitals followed by a capitalized word (so HTMLParser splits into HTML and Parser rather than HTM and LParser). It also treats hyphens, underscores, dots, and spaces as separators. This means you can paste text already in any case and convert it cleanly to another — you are not limited to space-separated input.
A worked example
Paste getHTTPResponseCode and click snake_case. The splitter first sees the lowercase-to-uppercase jump after get, then the capital run HTTP followed by Response, giving the words get, HTTP, Response, Code. Each is lowercased and joined with underscores, producing get_http_response_code. Click kebab-case on the same input and you get get-http-response-code — ideal as a URL slug or CSS class.
Practical use cases
- Renaming variables across languages. Porting a Python
snake_casefield into a JavaScript object? Convert tocamelCasein one click instead of editing each character. - Generating URL slugs. Turn an article title like "10 Tips for Faster Builds" into
10-tips-for-faster-buildswith kebab-case. - Cleaning up headlines. Title Case fixes inconsistent capitalization when you have copied a heading from a messy source.
- Building constants. CONSTANT_CASE produces ready-to-paste environment variable names such as
DATABASE_CONNECTION_URL.
Things Title Case and Sentence case do not do
Be aware of the limits of any automatic case tool, this one included. Title Case here capitalizes the first letter of every word; it does not apply the editorial rule that small words like "of", "the", and "and" stay lowercase. If you need strict AP or Chicago style, review the output by hand. Sentence case capitalizes the first letter and the first letter after each period, exclamation mark, or question mark — so it will not know that "iPhone" or "NASA" should keep their original capitals. Re-capitalize proper nouns and acronyms after converting.
Common mistakes to avoid
- Losing acronym casing. Converting
parseJSONto Title Case yields "Parse Json", not "Parse JSON". Acronyms get folded to ordinary words because the tool cannot know which letters are an abbreviation. - Expecting punctuation to survive. The programming formats (camel, snake, kebab, etc.) strip separators by design. If your text contains meaningful commas or slashes, they will be absorbed as word boundaries.
- Converting code that relies on exact identifiers. Never bulk-convert a whole source file's case; you will rename keywords and string literals too. Convert individual identifiers only.
Privacy
The conversion runs as plain JavaScript on your device. Your text is never uploaded, logged, or sent to a server — you can disconnect from the internet and every button still works. Use the Swap control to move the output back into the input box and chain conversions, for example lowercase first, then snake_case.