Case Converter
Text Format Converter
Usage Instructions
🚀 Quick Start
- Paste or type the text you want to convert—non-Latin characters and emoji stay untouched
- Pick a target format from the Basic, Programming, or Other sections and preview instantly
- Tap a format card to copy the conversion; multi-line blocks are handled in one go
- Tap the format cards in order to layer multiple conversions in a single pass
📌 Common Scenarios
- Variable/function naming: convert phrases to camelCase/PascalCase/snake_case to standardize style
- CSS/URLs: prefer kebab-case for class names and paths to improve readability
- Database fields/constants: switch to snake_case or CONSTANT_CASE to match conventions
- Files/paths: turn spaced names into kebab-case or path/case for cross‑platform friendliness
- APIs/routes: REST paths in kebab- or snake-case; GraphQL fields in camelCase
- Docs formatting: Title Case for headings; Sentence case for paragraph openers
- Batch renaming: paste multiple names, convert in bulk, copy back
- Before code review: normalize names to reduce diffs and rework
📚 Format Reference
- lowercase: hello world example
- UPPERCASE: HELLO WORLD EXAMPLE
- Capitalize: Hello world example
- Title: Hello World Example
- Sentence: Hello world example. Next sentence
- camelCase: helloWorldExample
- PascalCase: HelloWorldExample
- snake_case: hello_world_example
- kebab-case: hello-world-example
- CONSTANT: HELLO_WORLD_EXAMPLE
- dot.case: hello.world.example
- path/case: hello/world/example
- iNVERSE: HELLO WORLD EXAMPLE → hello world example
- format_example_toggle
- aLtErNaTiNg: hElLo WoRlD eXaMpLe
🧭 Usage Advice
- Frontend naming: PascalCase for components/types, kebab-case for CSS classes and URLs
- Backend scripts: snake_case for Python and database fields, camelCase or UPPER_SNAKE for Java/Go variables
- API design: keep REST paths consistent with kebab- or snake-case; GraphQL fields stay in camelCase
⚠️ Limitations & Compatibility
- To keep the page responsive, very large texts convert more smoothly when split
- Special symbols: characters like @#$ become separators, matching the chosen naming style
- Numerals: numbers stay as-is; separators are added only where digits meet letters to avoid breaking values
🔒 Privacy & Security
- All processing happens in your browser; data never leaves your device
❓ FAQ
What's the difference between camelCase and PascalCase?
camelCase (userName) fits variables or functions, while PascalCase (UserName) is common for classes and components
Why did my special characters disappear?
Symbols like @#$ are treated as separators, so hello@world becomes hello_world to keep naming consistent
Will mixed-language text be changed incorrectly?
Non‑Latin scripts and emoji stay untouched; only Latin words are converted (e.g., ‘测试 test’ → ‘测试 Test’)