Case Converter
Convert identifiers between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and URL slugs. Paste one name or a list, one per line. Conversion is a local string transform.
Runs in your browser. Nothing is uploaded.
0 characters · 0 lines
0 characters · 0 lines
About this tool
Convert identifiers between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and URL slugs. Each line is converted on its own so you can paste a list of names from a schema or a route table.
How to use: paste one identifier or several lines, pick the target style, copy. Word splits follow capitals, underscores, hyphens, and spaces. Non-alphanumeric separators are dropped.
Example: user_name becomes userName in camelCase and USER_NAME in CONSTANT_CASE. my-api-token becomes a slug of my-api-token, which is already kebab-case.
Names stay in the tab. This is not a Unicode transliterator; accented letters are kept only if they are alphanumeric in JavaScript. Related: URL encoder if the slug still needs percent-encoding.
Related Convert tools
JSON ↔ YAML
Convert JSON to YAML and YAML back to JSON in the browser. Paste a config, Kubernetes snippet, or API fixture and copy the other format. Parsing uses js-yaml locally. Documents are never posted to a converter.
JSON ↔ TOML
Convert JSON objects to TOML and TOML documents back to JSON in the browser. Handy for Cargo.toml, pyproject, and app config fragments. Parsing stays on-device.
JSON ↔ XML
Convert JSON objects to XML and XML documents back to JSON. Useful for SOAP leftovers, RSS, and mixed API stacks. XML is parsed with the browser DOMParser so payloads stay on the device.
JSON ↔ CSV
Turn an array of JSON objects into CSV, or parse CSV headers into JSON objects. Quote-aware parsing runs in the tab so spreadsheets of IDs and emails are not uploaded to a conversion service.
JSON to SQL
Turn a JSON object or array of objects into SQL INSERT statements. Set a table name, copy the query, and keep rows on the device instead of pasting fixtures into a hosted converter.
CSV ↔ TSV
Convert comma-separated values to tab-separated values and back, preserving quoted fields. A small delimiter swap for dumps you would rather not paste into a spreadsheet SaaS.