輸入文字
輸出文字
轉換選項
專業技巧
- •JavaScript/TypeScript 變數名稱使用 camelCase
- •React 元件名稱和類別使用 PascalCase
- •Python 變數和函式使用 snake_case
- •CSS 類別名稱和 URL 路徑使用 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.