sitekits.dev
press ⌘K to switch tools
TEXT

String Case Converter

Convert string case and perform text transformations.

local
string-utils
§01 ABOUT THIS TOOL

Overview

String Case Converter transforms text between the naming conventions you juggle daily as a developer: constants (UPPERCASE), identifiers (camelCase, snake_case), URLs and CSS classes (kebab-case), and headings (Title Case). Two utilities round it out: Reverse flips the character order, and Trim lines strips leading/trailing whitespace from every line — handy for cleaning up pasted code or CSV fragments.

How to use

  1. Pick an operation button: UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case, Reverse, or Trim lines.
  2. Type or paste text into Input. The Output box updates as you type.
  3. Switch buttons at any time — the current input is re-transformed instantly.

Examples

  • user profile page + camelCaseuserProfilePage
  • user-profile-page + snake_caseuser_profile_page
  • hello world + Title CaseHello World

Multi-line input works too: Trim lines turns indented line into indented line on every row.

Notes

Transformations are one-way with no undo history — keep your original text if you may need it. Title Case capitalizes every word, including articles like “the” and “of”, so it follows a simple rule rather than editorial style guides such as AP or Chicago.

FAQ
Is my text sent to a server?
No. Every transformation runs as plain JavaScript string operations in your browser; the input never leaves the page.
How are words detected for camelCase, snake_case, and kebab-case?
The input is split on whitespace, underscores, and hyphens. That means user_name, user-name, and user name all convert cleanly, but an existing camelCase word like userName is treated as a single word and will not be re-split.
Does Reverse handle emoji correctly?
Mostly. It reverses by Unicode code point rather than UTF-16 code unit, so surrogate-pair characters like emoji stay intact, though multi-code-point sequences such as combined flags or ZWJ emoji may still break apart.