Text Diff Checker
Compare two texts or code snippets side by side, with changed words highlighted and a downloadable patch.
Convert text and variable names to camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and more, all at once. Free, private, and 100% in your browser.
JavaScript/Java variables and functions, JSON keys
Classes, types, React components, C# members
Python, Ruby, Rust variables, SQL columns
Constants and environment variables
URLs, CSS classes, file names, CLI flags
COBOL, some HTTP header conventions
HTTP headers (Content-Type)
Config keys, i18n keys, package names
File paths and routes
Headings and titles
Labels, messages, and sentences
Plain lowercase words
Plain uppercase words
Every language and tool has its own naming convention: JavaScript wants camelCase, Python and SQL prefer snake_case, URLs and CSS use kebab-case, and environment variables use CONSTANT_CASE. Moving data between them means renaming a lot of identifiers. Paste them here and copy the version you need.
getHTTPResponseCode
camelCase getHttpResponseCode
snake_case get_http_response_code
kebab-case get-http-response-code
CONSTANT_CASE GET_HTTP_RESPONSE_CODEcamelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, COBOL-CASE, Train-Case, dot.case, path/case, Title Case, Sentence case, lower, and UPPER.
Understands every input style: getHTTPResponse becomes get, HTTP, Response, and user_account-ID becomes user, account, ID.
Write userId or keep acronyms as userID and parseHTTPResponse, whichever your style guide prefers.
Paste a list of names, one per line, and every line is converted separately. Ideal for renaming database columns or JSON keys.
The tool tells you which convention your input uses, so you can spot inconsistent naming quickly.
Conversion happens in your browser. Nothing you paste is uploaded.
Both join words without separators and capitalize each word, but camelCase starts with a lowercase letter (userName) and PascalCase starts with an uppercase letter (UserName). camelCase is used for variables and functions in JavaScript and Java; PascalCase is used for classes, types, and React components.
snake_case (user_name) is the convention for variables in Python, Ruby, and Rust and for database columns. kebab-case (user-name) is used in URLs, CSS class names, file names, and command-line flags, where underscores are less readable or not allowed.
CONSTANT_CASE, also called SCREAMING_SNAKE_CASE, is snake_case in uppercase (MAX_RETRY_COUNT). It is used for constants and environment variables in most languages.
A run of capitals is treated as one word, so XMLHttpRequest splits into XML, Http, and Request. By default acronyms are capitalized like normal words (xmlHttpRequest, userId). Turn on "Keep acronyms" to keep them in capitals (userID, parseHTTPResponse).
Yes. Word splitting uses Unicode letter categories, so names like naïveCafé or straßeName are split and converted correctly.
Compare two texts or code snippets side by side, with changed words highlighted and a downloadable patch.
Test JavaScript regular expressions live, with highlighted matches, capture groups, and find and replace.
Count words, characters, sentences, lines, and UTF-8 bytes as you type, with reading time and length limits.
Beautify, minify, and validate JSON instantly with exact line and column error reporting.