Convert
Convert text case
One paste, nine versions. Copy the one you need.
Every version is produced at the same time rather than one at a time, because the usual job is comparing them: a headline in Title Case next to the same one in sentence case, or a phrase as camelCase next to snake_case.
Title Case here lowercases first and then capitalises, keeping short joining words — a, an, the, and, of, to — lowercase unless they start or end the line. That is the convention most style guides use, and it is the only one this page claims.
The programming cases split on anything that is not a letter or a digit, and also on camelCase boundaries, so “myVarName” becomes my_var_name rather than one word. Accents and non-Latin scripts are left alone: they are letters, not separators.
Questions
Why is “of” lowercase in my Title Case?
Short joining words stay lowercase in the middle of a title and are capitalised only at the start or the end, which is what the style guides this follows do.
Does camelCase keep my punctuation?
No. The programming cases produce identifiers, and an identifier cannot contain a space or a comma, so separators are dropped.
Is my text sent anywhere?
No. The conversion runs in the page, with no request and no storage.
Can it fix text that arrived in ALL CAPS?
Yes — paste it and read the sentence-case line. It lowercases everything first, then capitalises the start of each sentence.
More text and code
- Word counterWords, characters, sentences and reading time, counted as you type.
- JSON formatterValidates JSON and prints it indented, with the parser’s own error.
- Base64Encode text to base64 and decode it back, UTF-8 safe.
- URL encoderPercent-encode text, or read what a %-encoded string says.
- Hash generatorSHA-256, SHA-1 and SHA-512 of any text, from the browser’s own crypto.
- UUID generatorFive version-4 UUIDs from the browser’s random source, ready to copy.
- Timestamp converterEpoch seconds, milliseconds, ISO 8601, UTC and your own time zone.
- Colour converterHEX, RGB and HSL from one value, with WCAG contrast ratios.
- Slug generatorA clean URL slug from any title, accents and punctuation handled.
- CSV to JSONRows to objects, with quoted commas, semicolons and tabs handled.
- Text diffTwo texts, line by line: what was added and what was removed.