CASE CONVERTER

Title Caseeight formats, one click.

Switch text between UPPER, lower, Title Case, Sentence case, camelCase, snake_case, kebab-case and swapped case. Runs locally.

How do I use the case converter?

Type or paste text above, then click any format button to get the result instantly. camel, snake and kebab help rename variables; Title and Sentence fit headings.

FAQ

When should I use camelCase, snake_case or kebab-case?

Follow the language convention: JavaScript and TypeScript variables use camelCase (userName); Python variables and functions use snake_case (user_name); URL paths, HTTP headers and custom CSS properties use kebab-case (user-name). The conversion treats every word uniformly, so user_name or user-name both convert correctly to userName.

What is the difference between Title Case and Sentence case?

Title Case capitalises the first letter of every significant word — used for book and film titles. Sentence case capitalises only the very first word of the whole string, which is what you want for ordinary sentence casing. For all-caps or all-lowercase use the UPPER CASE / lower case buttons.

Will the conversion break my existing formatting?

Line breaks, spaces and punctuation are all preserved — only letter case changes. One caveat: converting an already-camelCase word to snake_case splits on the case boundaries, so userID becomes user_i_d rather than user_id. Acronyms like that need a manual fix afterwards.

示例与注意事项Example & notes

一个例子A worked example

把一段英文标题转成「每个单词首字母大写」:页面会让 a、of、the 这类小词保持小写,符合英文标题规范。Turn a headline into title case: short words like a, of and the stay lowercase, matching English style guides.

注意事项Things to watch

相关问答More Q&A

有哪几种转换格式?Which formats are available?

全大写、全小写、每词首字母大写、句首大写,以及适合变量名的驼峰命名。Upper case, lower case, title case, sentence case, plus camel and snake case for code identifiers.

会修改标点吗?Does it change punctuation?

不会,标点与空格原样保留,只转换字母的大小写。No — punctuation and spacing are preserved; only letter case changes.

Further reading

觉得好用?Found it useful?