Text & Regex

Case Converter

Type or paste any text and instantly see it as camelCase, PascalCase, snake_case, kebab-case, Title Case and more. Copy one style or all of them. Everything runs in your browser — your text never leaves the page.

Runs in your browser v1.0.0

Options

Remove accents turns Café into Cafe. Split numbers treats the transition between letters and digits as a word break, so user2FA becomes user-2-fa. Camel case is detected too: MyHTTPServer becomes my_http_server.

Text to convert

live

Any text works — sentences, identifiers, or a mix of separators such as _, - and spaces.

Converted cases

0 words

Each result is read-only and copyable on its own; use Copy all for a labelled list of every style.

How it works

The text is first split into words. Runs of spaces, punctuation and separators such as _, - and . become word breaks, and camel and Pascal boundaries are detected as well, so MyHTTPServer splits into My, HTTP and Server. Each style then joins the words with its own separator and casing. The optional share link encodes the text and settings in the URL fragment, which stays in your browser.

Practical uses

Convert text between camelCase, snake_case, kebab-case, PascalCase and other naming conventions.

Common ways to use it

  • Rename fields when moving between a JSON API and a database column style.
  • Convert a list of names between programming conventions in one pass.
  • Strip punctuation and separators from pasted identifiers in one step.

The same phrase in three conventions

Input

Hello World example

Output

camelCase:      helloWorldExample
kebab-case:     hello-world-example
snake_case:     hello_world_example

Verified against the tool's mapping functions with the default options (accents kept, numbers not split). Camel and Pascal boundaries are detected, so MyHTTPServer splits into My / HTTP / Server.

Options that matter

  • Remove accents — fold diacritics and ligatures, so Café becomes Cafe and Straße becomes Strasse.
  • Split numbers into words — treat letter/digit boundaries as word breaks, so user2FA becomes user_2_fa.
  • Copy all / Download .txt — take every one of the twelve styles as a labelled list.

Things to keep in mind

  • Accent removal and number splitting are optional toggles, so results depend on the options you choose.
  • Punctuation is treated as a word break and dropped, so output contains only letters, digits and the chosen separator.
  • The share link encodes the text and settings in the URL fragment; it is not a substitute for a saved file.