输入文本
输出文本
转换选项
专业技巧
- •JavaScript/TypeScript 变量名使用 camelCase
- •React 组件名和类名使用 PascalCase
- •Python 变量和函数使用 snake_case
- •CSS 类名和 URL slug 使用 kebab-case
- •环境变量和常量使用 CONSTANT_CASE
The Text Case Converter fixes a small but constant annoyance: text that's in the wrong case for where it needs to go. A headline pasted in from a spreadsheet is stuck in all caps, a variable name copied from documentation uses spaces instead of camelCase, or a CSV column header needs to become a snake_case database field. Retyping or manually reformatting each one is slow and error-prone, especially across long documents or lists of identifiers, so this tool converts pasted text into the exact case format you need in one pass.
Paste your text into the input box and choose a target format — UPPERCASE, lowercase, Title Case, camelCase, snake_case, and other common conventions are all supported as one-click conversions. The tool re-parses word boundaries from your original text (spaces, punctuation, and existing capitalization patterns) so it can rebuild proper camelCase or snake_case output rather than just flipping letter case, which matters when you're converting phrases into code-safe identifiers. Because everything runs client-side in your browser, the conversion is instant and there's no upload step or account needed.
This makes it handy for developers renaming variables between naming conventions, writers cleaning up inconsistently capitalized headings, or anyone standardizing text pulled from different sources before pasting it somewhere else. Since processing happens locally, none of your text is sent to a server, which is useful if you're working with internal code, draft content, or anything you'd rather not paste into a cloud service.
Paste text and instantly convert it to your target case format.
Copy the text you want to convert and paste it into the input field.
Select the target format you need, such as UPPERCASE, lowercase, Title Case, camelCase, or snake_case.
The tool instantly rewrites your text into the selected case format in the output area.
Copy the converted text and paste it into your document, code editor, or spreadsheet.
Switch to a different case option any time to reconvert the same input without re-pasting.