Skip to content

laolin5564/case-converter-tool

Repository files navigation

🔤 Case Converter Tool

A free online text case converter supporting 10+ naming conventions. Live at caseconverter.tools.

[中文] 免费在线大小写转换工具,支持 10+ 种命名格式转换。

Features / 功能特性

  • 🔠 10+ Conversion Types — UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and more
  • 📄 SEO-Friendly — Each format has its own dedicated page with proper meta tags
  • 📱 Responsive Design — Works on desktop, tablet, and mobile
  • Pure Frontend — No backend needed, instant conversion
  • 🌐 Multi-page Architecture — Individual pages for each case type, optimized for search

Quick Start / 快速开始

# Just open in browser
open index.html

# Or serve locally
python3 -m http.server 8080

Deploy to Vercel

vercel deploy

Tech Stack / 技术栈

  • Frontend: Vanilla HTML + CSS + JavaScript
  • Deployment: Vercel (static site)
  • SEO: sitemap.xml, robots.txt, structured meta tags

Project Structure / 项目结构

case-converter-tool/
├── index.html           # Main page (all converters)
├── converter.js         # Core conversion logic
├── style.css            # Styles
├── uppercase.html       # Individual format pages
├── lowercase.html
├── titlecase.html
├── camelcase.html
├── snakecase.html
├── kebabcase.html
├── pascalcase.html
├── constantcase.html
├── sentencecase.html
├── sitemap.xml          # SEO sitemap
├── robots.txt           # Crawler rules
└── vercel.json          # Vercel config

Supported Conversions / 支持的转换

Format Example
UPPERCASE HELLO WORLD
lowercase hello world
Title Case Hello World
Sentence case Hello world
camelCase helloWorld
PascalCase HelloWorld
snake_case hello_world
kebab-case hello-world
CONSTANT_CASE HELLO_WORLD

Contributing / 贡献

PRs welcome! To add a new case type:

  1. Add conversion logic to converter.js
  2. Create a dedicated HTML page
  3. Update sitemap.xml
  4. Run bash generate-pages.sh if applicable

License / 许可证

MIT License

About

Free online text case converter with 10+ formats | 免费在线大小写转换工具

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors