Case Converter
Convert text to UPPERCASE, lowercase, Title Case or camelCase.
Convert text to UPPERCASE, lowercase, Title Case or camelCase.
Python developers write user_profile_data. Java developers write userProfileData. CSS class names use user-profile-data. Database columns often use user_profile_data again. And if you are writing a React component, the component itself is UserProfileData in PascalCase while its props are camelCase.
When you copy text between these contexts — say, grabbing a column name from a database schema and turning it into a JavaScript variable — manual conversion is tedious and error-prone. A quick paste into a case converter eliminates the friction entirely.
MAX_RETRIES), acronyms, SQL keywords by convention, emphasis in plain text.DATABASE_URL), constants in Python and C, Makefile targets.IDEs handle renaming within a single language file reasonably well. But when the same concept spans a database schema, a REST API response, a front-end component, and a documentation page, there is no single tool that renames across all layers simultaneously. A standalone case converter lets you transform a name once and paste the right format wherever it is needed — no search-and-replace, no typos from manual retyping.
The converter first tokenises the input by splitting on spaces, underscores, hyphens, and camelCase boundaries (detecting uppercase letters that follow lowercase letters). This means it correctly handles mixed-case inputs: myHTTPSRequest → tokens [my, HTTPS, Request] → snake_case: my_https_request. The tokenisation step is the hard part; once tokens are identified, reassembly into any target format is straightforward.
It depends on which style guide you follow. AP Style capitalises prepositions of four or more letters (e.g., "With", "From", "Between") but lowercases shorter ones ("in", "on", "at"). Chicago Manual of Style lowercases all prepositions regardless of length. APA capitalises words of four or more letters including prepositions. This tool applies a general rule: words of four or more characters are capitalised; words of three or fewer are lowercased unless they are the first or last word.
When converting to camelCase or snake_case, the converter treats consecutive uppercase letters as a single token. "HTMLParser" becomes "html_parser" in snake_case, not "h_t_m_l_parser". When converting to Title Case, all-caps sequences are preserved as-is.
Numbers are treated as word-boundary markers in camelCase and snake_case conversions. "address2line" stays as-is in lowercase; in snake_case it becomes "address_2_line" since the digit is treated as a separate token. In Title Case, numbers are left unchanged.
IDE rename refactors within one codebase and one language. When the same concept appears in a database schema, an API spec, a front-end template, and a documentation page written in different tools, there is no single rename operation that covers all of them. A case converter lets you transform once and paste the right format everywhere.