Hoppa till huvudinnehåll
FreeOnlineTools Go
Svenska

Case Konverterare

Konvertera text between UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case and kebab-case.

Local processing

What is Case Konverterare?

A case converter transforms text between different capitalization conventions: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case. Each convention serves a specific purpose in programming, writing, and data formatting. For example, camelCase is standard for JavaScript variables, snake_case for Python and database columns, and kebab-case for URLs and CSS class names.

How It Works

The tool splits input text into words using whitespace and punctuation boundaries, then recombines them according to the selected convention. camelCase and PascalCase lower-case each word and capitalize the first letter of subsequent words (PascalCase also capitalizes the first word). snake_case joins words with underscores, kebab-case with hyphens. Title Case capitalizes every word's first letter; Sentence case capitalizes only the first word. All processing is local and instantaneous.

Common Use Cases

  • Renaming variables between programming languages — convert camelCase JavaScript to snake_case Python
  • Formatting URL slugs — turn titles into kebab-case for clean, SEO-friendly URLs
  • Normalizing database column names — convert mixed-case fields to consistent snake_case
  • Cleaning up CSV or JSON keys — standardize inconsistent casing across data imports

Technical Details

Word boundaries are detected via Unicode-aware splitting (whitespace, hyphens, underscores). camelCase/PascalCase preserve existing internal capitals (e.g., 'myHTMLParser' stays readable). No external libraries are used; the conversion runs entirely in-browser with O(n) time complexity. The tool handles multi-byte UTF-8 input correctly.

How to Use

Enter your input above. The result updates automatically. Use the copy button to copy the result.

Privacy

All processing happens in your browser. Your data is never uploaded to any server.

FAQ

Which case formats are supported?

UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case.

Is my text uploaded to a server?

No. All case conversion happens locally in your browser. Your text never leaves your device, making this safe for sensitive or proprietary content.

Can I convert multiple lines at once?

Yes. Paste multi-line text and the tool converts all lines in a single operation. Each line is processed independently and line breaks are preserved in the output.

Related Tools