Text & Code
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, and 10+ more formats.
Your files stay on your device - processed locally via WebAssembly, never uploaded
0 characters · 0 words
Embed this tool on your website
Copy this code to add the Case Converter to your site for free. It runs entirely in your visitors' browsers - no API key, no usage limits.
<iframe src="https://optipix.art/embed/case-converter" width="100%" height="600" style="border:1px solid #e4e4e7;border-radius:8px;" title="Case Converter by OptiPix" loading="lazy"></iframe> <p style="font-size:12px">Free tool by <a href="https://optipix.art/case-converter">OptiPix Case Converter</a></p>
❤️ Love this tool? Support our team.
No ads, no tracking, no limits. Tips keep 104 tools free for everyone.
Secure payment via Stripe · No account needed
About Case Converter
Last updated: May 2026
OptiPix Case Converter 可即时将您的文本在 13 种不同的格式之间进行转换。一键转换为 UPPERCASE、lowercase、Title Case、Sentence case、camelCase、PascalCase、snake_case、kebab-case、CONSTANT_CASE、dot.case、path/case、aLtErNaTiNg CaSe 和 iNVERSE cASE。该工具会显示转换后文本的实时预览,并保留您的原始输入,以便您可以尝试多种转换。将结果复制到剪贴板或下载为 .txt 文件。字符计数会显示以供参考。非常适合需要转换变量名命名约定的开发人员、需要重新格式化标题的作家或任何需要快速文本转换的人。所有操作都在您的浏览器中进行 - 您的文本绝不会发送到任何服务器。
How It Works
每次转换都使用 JavaScript 字符串方法 - toUpperCase()、toLowerCase()、正则表达式替换和逐字符映射。该工具首先将输入分割成单词(处理 camelCase 边界和分隔符),然后以目标格式重新组合它们。
Use Cases
- •在 camelCase、snake_case 和 kebab-case 之间转换变量名
- •将标题和题目格式化为 Title Case
- •将文本转换为 UPPERCASE 以强调或用于设计模型
- •为配置常量生成 CONSTANT_CASE 名称
- •使用 aLtErNaTiNg CaSe 转换社交媒体文本
You Might Also Like
If you find Case Converter useful, check out these related tools: Word Counter, Lorem Ipsum Generator, and URL Encoder / Decoder. All tools run entirely in your browser with no uploads or signups required.
Explore more: Browse all tools · Step-by-step guides · Tips & tutorials · Compare tools
Frequently Asked Questions
支持哪些格式?
Title Case 如何工作?
我的文本会被发送到服务器吗?
我可以转换编程约定之间的变量名吗?
字符计数在不同格式之间会改变吗?
Related Tools
Word Counter
Count words, characters, sentences, paragraphs, and reading time - with readability scores and keyword density.
Lorem Ipsum Generator
Generate placeholder text in paragraphs, sentences, or words - with HTML and Markdown output.
URL Encoder / Decoder
Encode and decode URLs with percent-encoding. Parse URLs into components.
Base64 Text Encoder / Decoder
Encode text to Base64 and decode Base64 back to text. URL-safe mode available.