Example
Input
yutils online tools
Output (6 cases)
camelCase: yutilsOnlineTools PascalCase: YutilsOnlineTools snake_case: yutils_online_tools kebab-case: yutils-online-tools CONSTANT_CASE: YUTILS_ONLINE_TOOLS Title Case: Yutils Online Tools
Note
Auto-detects the input case (snake, kebab, camel, …), splits into words, and emits all six cases simultaneously. Each one is one-click copyable.
Usage / FAQ
When to use
- Rename variables/functions across naming conventions (snake ↔ camel)
- Convert DB columns (snake_case) into JS field names (camelCase)
- Produce ENV variable names (CONSTANT_CASE)
- Generate URL slugs (kebab-case) quickly
- Plan a key-case normalization pass for API responses
FAQ
- Q.How are acronyms (API, HTTP) handled?
- A.Treated as regular words during camel / Pascal conversion — only the first letter stays uppercase (`apiToken`). If you need acronym preservation, post-process manually.
- Q.What about digits in the middle of a word?
- A.Digits are tokenized separately (`version2foo` → `version 2 foo` → `version2Foo`).
- Q.Does it convert Korean text?
- A.Korean text is kept as a single token — case conversion is meaningful only for Latin script.
Fun facts
The name `camelCase` was settled by Smalltalk and Java in the 1990s, though the term 'camel-cased' shows up in 19th-century English literature too. Java's strict distinction (PascalCase for classes / camelCase for variables and methods) turned it into an industry standard.
Wikipedia — Camel case`snake_case` was standardized in the late 1990s when Python and Ruby baked it into style guides like PEP 8. Before that it was an informal C / Pascal convention called 'lowercase' or 'lower_case_with_underscores' — the 'snake' name matches Python's mascot.
PEP 8 — Python Style Guide`kebab-case` is the hyphenated convention used by CSS and the Lisp family. The 'kebab' name comes from the shape — words skewered onto a stick. It was natural in Erlang and Clojure, then crystallized as CSS property names like `font-size`. JavaScript variables can't use it because the dash clashes with the minus operator.
Wikipedia — Letter case
Related tools
- JSON Formatter / Validator
Format, validate, and minify JSON strings. Adjust indent and optionally sort keys. Runs entirely in your browser.
- Regex Tester
Test JavaScript regular expressions with live match results. Supports g/i/m/s/u/y flags and capture groups.
- Markdown Preview
Render Markdown to HTML side-by-side. Supports CommonMark + GFM (tables, fenced code, task lists). marked is lazy-loaded.
- HTML → Markdown
Convert HTML into Markdown. Headings, lists, links, code, tables, blockquotes. Uses the browser's DOMParser — accurate, 0 dependency.
- YAML ↔ JSON
Convert between YAML and JSON. Tolerates comments and multiline strings on the YAML side. yaml is lazy-loaded.
- Text Diff
Compare two texts and highlight added/removed lines, words, or characters.
- JSON Diff
Compare two JSON values, with optional key sorting and JSON-aware error messages.
- CSV ↔ JSON
Convert between CSV and JSON. Handles quoted fields, custom delimiters, and header rows.
- SQL Formatter
Format SQL queries with proper indentation and keyword casing. Supports PostgreSQL, MySQL, SQLite, and standard dialects.
- XML Formatter
Pretty-print or minify XML with attribute preservation. Handles SOAP, sitemaps, and config files.
- XML ↔ JSON
Convert between XML and JSON with attribute and element handling.
- Smart Paste
Paste any text and get tool recommendations — JSON, JWT, Base64, URL, UUID, Cron, and 9 more types auto-detected.
- Lorem Ipsum
Generate placeholder text in words, sentences, or paragraphs. Classic Lorem Ipsum or randomized.
- JSON Path
Query JSON with JSONPath expressions ($.store.book[*].author etc.) and inspect matches.
- JSON Schema Validator
Validate JSON data against a JSON Schema (Draft 2020-12). Powered by Ajv with format support.
- JSON Schema Generator
Generate a JSON Schema (Draft 2020-12) from a sample JSON. Infer types, required fields, and nested structures automatically.
- HTML Formatter
Beautify or minify HTML with proper indentation, attribute alignment, and configurable wrap.
- CSS Formatter
Beautify or minify CSS with proper indentation. Configurable selector and property style.
- JavaScript Formatter
Beautify or minify JavaScript with brace style and indent options. Powered by js-beautify.
- TOML ↔ JSON
Convert between TOML (Tom's Obvious Minimal Language) and JSON. Used in Cargo.toml, pyproject.toml, etc.
- INI ↔ JSON
Convert INI configuration to JSON and back. Supports sections, comments (; or #), and key=value.
- JSON → TypeScript
Generate TypeScript interfaces from a JSON sample. Nested objects become separate interfaces.
- JS Object → JSON
Convert a JavaScript object literal (unquoted keys, single quotes, trailing commas, comments) into standard JSON. Lenient parser, strict output.
- Slug Generator
Convert text into a URL-safe slug. Configurable separator, lowercase, and accent stripping.
- ASCII Tree
Convert indented text or path list into a box-drawing tree (├── │ └──).
- Diff Patch
Generate a unified diff (-u) patch from two text inputs. Compatible with `git apply` / `patch -p0`.
- Mock Data
Generate fake JSON records — names, emails, UUIDs, dates, and more. 0 dependency.
- MongoDB Extended JSON
Convert MongoDB Extended JSON (EJSON) between Canonical and Relaxed forms, or strip BSON wrappers to plain JSON. Recognizes 16 wrapper types ($oid/$date/$numberLong/$numberDecimal/$binary/...).