glunty

Text Case Converter

Paste text once, get every naming case at the same time. All local, nothing uploaded.

What this tool does

This case converter takes any block of text and rewrites it in ten common naming conventions at once: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, Title Case, Sentence case, UPPERCASE, and lowercase. Each result appears in its own row with a copy button, and every row updates live as you type. The work runs entirely in your browser, so nothing you paste leaves your machine.

How to use it

Type or paste text into the box. All ten cases fill in immediately. Click Copy on any row to put that single result on your clipboard. For example, typing hello world-example_test gives helloWorldExampleTest (camelCase), hello_world_example_test (snake_case), and hello-world-example-test (kebab-case). Clearing the box clears every output; empty input never shows an error.

Common use cases

  • Turning a human label like "Max retry count" into a variable, constant, or CSS class name.
  • Converting a database column from snake_case to a camelCase field in application code.
  • Renaming files or URL slugs consistently in kebab-case.
  • Generating environment variable names in CONSTANT_CASE from a feature description.
  • Cleaning up an inconsistent list of identifiers to one house style.

Common pitfalls

  • Acronyms are split by capitals. The tool treats a run of capitals as one word, so myHTTPServer becomes my, HTTP, Server. That is usually what you want, but if your text mixes acronyms and normal words in unusual ways, skim the output before pasting it into code.
  • Title Case is mechanical. It capitalizes every word, including small words like "of" and "the." Publication style guides often lowercase those. Adjust by hand if you need strict editorial title case.
  • Separators are dropped, not preserved. Spaces, dots, dashes, and underscores are treated as word boundaries and removed. If a character is meaningful to you as content rather than a separator, this tool will still split on it.

Frequently asked questions

What is the difference between camelCase and PascalCase?
Both join words with no separators and capitalize each word boundary. The only difference is the first letter: camelCase starts lowercase (myVariableName) while PascalCase starts uppercase (MyVariableName). camelCase is common for variables and functions in JavaScript, Java, and Swift; PascalCase is common for classes, types, and React component names.
What is snake_case versus kebab-case versus CONSTANT_CASE?
snake_case lowercases every word and joins them with underscores (user_id), common in Python, Ruby, and SQL column names. kebab-case does the same with hyphens (user-id), common in URLs, CSS class names, and HTML attributes. CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) uppercases every word and joins with underscores (MAX_RETRY_COUNT), the usual convention for constants and environment variable names.
How does this tool split my text into words?
It tokenizes on spaces, hyphens, underscores, and dots, and also on camelCase and PascalCase boundaries. So "myHTTPServer" becomes three words: my, HTTP, Server. Runs of capital letters are treated as one acronym, but a trailing capital that begins a new word (the S in Server) is split off correctly. Numbers are kept attached to the word they touch.
What is the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every word (The Quick Brown Fox). Sentence case capitalizes only the first letter of the whole string and lowercases the rest (The quick brown fox). This tool uses a simple mechanical rule: it does not skip small words like "and" or "of", because style guides disagree on which words to skip.
Does the converter send my text anywhere?
No. All conversion happens in your browser with plain JavaScript. Nothing is uploaded, logged, or stored. You can confirm this by opening DevTools and watching the Network tab while you type: there are zero requests. This makes it safe for internal identifiers, draft copy, or anything you would rather not paste into a server-side tool.
Why does an acronym like "HTTP" sometimes look different across cases?
Each case has its own rule for capitalization. In snake_case and kebab-case the whole token is lowercased (my_http_server), in CONSTANT_CASE it is uppercased (MY_HTTP_SERVER), and in PascalCase the tool title-cases each token so HTTP renders as Http. That is the standard trade-off: strict per-word casing is predictable, even though a few acronyms read slightly differently than a human might hand-write them.
What happens with emoji, punctuation, or non-English letters?
Separator punctuation (spaces, dots, dashes, underscores, slashes, and similar) is used to split words and then dropped. Accented and non-Latin letters are preserved and treated as word characters where the browser recognizes their case. Emoji and other symbols that have no case are passed through inside the word they attach to, so nothing is silently deleted.

Embed this tool

Free for any use; attribution appreciated. Paste this on your site:

The embed runs the same tool that lives at this URL. No tracking; no ads inside the embed. Resize height as needed for your layout.

Cite this tool

For academic, journalistic, or technical references. Pick a format:

Citations use 2026 as the publication year. Access date is left as a fillable placeholder where the citation style expects one.

Embedded tool from glunty.com