Case Converter Online

Convert text between camelCase, snake_case, kebab-case, PascalCase, and more in your browser. Your text stays local.

Your text is converted locally in your browser and nothing is uploaded to a server.

Built and maintained by Udit Agarwal

Generating TypeScript types? Try JSON to TypeScript.

About Case Converter

This case converter transforms text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Title Case, Sentence case, lower case and UPPER CASE in one click. It is built for developers renaming variables, API fields and database columns, plus writers and QA engineers who need consistent identifiers or readable headings. Paste an identifier, a CSV column name or a whole list and pick the target style; each line is converted independently, so multi-line lists stay aligned. Use it to turn a JSON key into a constant, slugify a title into kebab-case, or normalize mixed naming conventions across a codebase when converting camelCase to snake_case. Everything is processed locally in your browser, so your data never leaves your device.

Features

  • Converts between 11 styles: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Title Case, Sentence case, lower and UPPER
  • Detects word boundaries from existing camelCase, acronyms, underscores, hyphens, dots and slashes
  • Converts each line independently, so pasted lists and column names stay perfectly aligned
  • Strips stray punctuation and collapses separators to produce clean, predictable identifiers
  • Handles acronym runs like HTTPRequest by splitting them into sensible words
  • Splits at digit-to-letter transitions so values like item2Name become item2 name
  • Instant conversion as you type or paste, with one-click copy of the result
  • Runs entirely in your browser with no tracking of what you paste

How to use the Case Converter

  1. Paste or type your text into the input box.
  2. Choose a target case such as snake_case, camelCase or kebab-case.
  3. Read the converted result in the output panel.
  4. Click Copy to put the converted text on your clipboard.

Example

Input

helloWorld
HTTPRequestHandler

Output

hello_world
http_request_handler

Converting two camelCase identifiers to snake_case, one per line.

Common errors & troubleshooting

  • Acronyms like HTTPRequest split in an unexpected place. — The converter treats a run of capitals followed by a capital-plus-lowercase as a boundary, so HTTPRequest becomes 'http request'. Add a manual space if you need different grouping before converting.
  • Numbers get separated from their words. — A lowercase or digit followed by an uppercase letter starts a new word, so 'item2Name' becomes 'item2 name'. Reformat the input if you want the number kept distinct.
  • Punctuation or emoji disappears from the result. — Only letters, numbers and word separators are kept; other characters are dropped to keep identifiers valid. Use Title or Sentence case on plain prose if you need punctuation preserved.
  • A multi-line list collapses into one line. — Keep each item on its own line in the input; the tool converts line by line and preserves line breaks in the output.

Frequently asked questions

What is the ArrayKit Case Converter?
It is a text case converter that rewrites words and identifiers between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case, Title Case, Sentence case, lower case and UPPER CASE.
How do I convert camelCase to snake_case?
Paste the camelCase text, choose snake_case as the target, and the Case Converter inserts underscores at each word boundary, for example helloWorld becomes hello_world.
Can I convert a whole list of items at once?
Yes. Each line is converted independently, so you can paste a column of names or identifiers and they all convert in place without merging.
How does the Case Converter detect word boundaries in an identifier?
It splits on existing camelCase transitions, acronym runs, and separators like underscores, hyphens, dots and slashes, then rebuilds the words in your chosen style.
Can I use it to slugify a title into kebab-case?
Yes. Paste your title, choose kebab-case, and the converter lowercases the words and joins them with hyphens to produce a clean URL slug.
Is my text kept private when I use this tool?
Yes. The Case Converter runs entirely in your browser, so the text you paste is processed locally and never leaves your device.

Related tools

Guides

More Text tools

  • Lorem Ipsum Generator — Generate placeholder lorem ipsum paragraphs, sentences or words.
  • Mock Data Generator — Generate fake JSON data — names, emails, UUIDs, dates and more.
  • Word & Character Counter — Count words, characters, sentences, lines, bytes and approximate tokens, live.
  • Slug Generator — Turn a title into a clean, URL-safe slug, with batch mode.
  • LinkedIn Text Formatter — Add bold, italic, underline and more to LinkedIn posts using Unicode you can paste anywhere.
  • AI Text Cleaner — Detect and remove invisible characters and typography artifacts left by AI models and copy-paste.
  • Remove Duplicate Lines — Remove duplicate lines from a list, with case, trim, keep-first-or-last and sort options.
  • Fake VAT Number Generator — Generate format-valid, check-digit-correct fake VAT numbers for testing invoices and checkout forms.
  • Sort Text Lines — Sort lines alphabetically, numerically, by length or randomly, with reverse, case and dedupe options.
  • Find and Replace Text — Find and replace text with plain or regex search, case sensitivity, whole-word and global options.
  • NATO Phonetic Alphabet — Convert text to the NATO phonetic alphabet (Alfa, Bravo, Charlie) and spell it back.
  • Delimiter Converter — Convert a list of lines to a comma, tab or custom delimited list and back, with quoting.

See all Text tools (31) · All tools