What is a Case Converter?
Case conversion fixes text pasted from PDFs and forms, and switches identifiers between programming conventions: camelCase for JavaScript, snake_case for Python and databases, kebab-case for URLs and CSS.
Seven conversions, one click each, all computed locally.
The programming conventions in one line each: camelCase for JavaScript variables, PascalCase for classes and React components, snake_case for Python and SQL columns, kebab-case for URLs, CSS classes and file names, SCREAMING_SNAKE for constants. Mixing them within one codebase is harmless to computers and maddening to humans.
Converting text that is already camelCase
Worth knowing before you paste an identifier in: the conversions split words on spaces, punctuation and underscores, not on capital letters. Feeding in getHTTPResponse therefore produces gethttpresponse rather than get_http_response, because from the tool’s point of view the input is a single word.
The fix takes a second: separate the words first, with spaces or hyphens, and then convert. That also sidesteps the harder problem hiding underneath, which is that no converter agrees on what to do with acronyms. Whether HTTPServer should become http_server or h_t_t_p_server, and whether it comes back as HttpServer or HTTPServer, is a style decision that differs between languages and between codebases, so doing it explicitly beats letting a tool guess.
Frequently asked questions
What is PascalCase and how do I get it?
camelCase with the first letter capitalized: convert to camelCase here, then capitalize the first character. A dedicated button is on the roadmap.
Why did my ALL-CAPS legal text convert oddly?
Sentence case cannot know which capitals were proper nouns: after converting, restore names by hand. That information was destroyed when the text was uppercased.
What is the difference between Title Case and Sentence case?
Title Case Capitalizes Most Words (headlines); sentence case only capitalizes the first word and after full stops.
How does camelCase conversion handle punctuation?
Any non-alphanumeric run becomes a word boundary, so “user name-2” becomes userName2.
Does Title Case skip small words?
Yes: articles and short prepositions (a, the, of, in…) stay lowercase unless they start the text.
Is my text uploaded?
No: conversion is instant and local.