Text Case Converter
Convert text between camelCase, PascalCase, snake_case, kebab-case, Title Case, slug and more. Handles existing identifiers by splitting on word boundaries first.
input0 ln / 0 ch
camelCase
ready
local / nothing uploadedAbout this tool
Different languages and conventions want different casing. This tool splits your text into words first, including camelCase and snake_case input, then rejoins it in the style you pick, so converting twice never produces a broken identifier.
How to use it
- Type or paste any text or identifier.
- Pick a target style in the toolbar.
- Every style is also listed below with its own copy button.
- Copy whichever you need.
Examples
Converting a phrase
user profile settings
userProfileSettings / user_profile_settings / user-profile-settings
Limits and notes
- Acronyms are lowercased when splitting, so XMLParser becomes xml parser.
- Unicode word boundaries follow the browser, so some scripts may not split as you expect.
Frequently asked questions
- Will it handle camelCase input?
- Yes. It inserts a boundary before each capital letter, so userProfile becomes user profile and converts cleanly.
- What is URL slug?
- Lowercase words joined by hyphens, which is the convention for readable URLs. It strips punctuation rather than encoding it.
- Does it change my original text?
- Never. The original stays in the input pane; only the output changes.
Want the details? Read the full guide: Renaming a Field Without Breaking the API.
Related Tools
Hash GeneratorGenerate MD5, SHA-1, SHA-256, SHA-512 and CRC-32 checksums from any text. Everything is computed with the browser crypto API, so nothing you paste is ever sent anywhere.
Diff CheckerCompare two blocks of text line by line and see exactly what was added or removed. Useful for config files, migrations and reviewing edits before committing.
QR Code GeneratorTurn any URL or text into a QR code and download it as an SVG. Choose the error-correction level for logos or rough printing, entirely in your browser.
Markdown PreviewWrite Markdown and see it rendered live, then copy the generated HTML. Supports GitHub-flavoured tables, task lists, code fences and blockquotes.
JSON ValidatorValidate JSON syntax with detailed error messages. Catch trailing commas, missing brackets, and syntax errors instantly before sending payloads to your API.
JSON FormatterBeautify, validate, minify, and view JSON. Format messy API responses into readable code or compress it to save bandwidth, running safely in your browser.
JSON MinifierCompress JSON to a single line. Remove all unnecessary whitespace and line breaks to reduce payload size for production APIs without altering the underlying data.
JSON ViewerView JSON in an interactive, collapsible tree structure. Easily navigate massive API responses, expand specific nodes, and inspect deeply nested objects or arrays.