Case Converter

Every ecosystem guards its own naming convention: JavaScript expects camelCase, Python prefers snake_case, constants shout in CONSTANT_CASE and URLs speak kebab-case. This converter moves identifiers and prose between nine styles in one click, and it splits words intelligently — whether the input uses spaces, underscores, hyphens or camel humps.

case-converter runs 100% locally

How to use it

  1. Paste the identifier or text you want to restyle.
  2. Click the target style — the result appears immediately.
  3. Copy the converted text.

Key facts

About this tool

Every ecosystem guards its own naming convention: JavaScript expects camelCase, Python prefers snake_case, constants shout in CONSTANT_CASE and URLs speak kebab-case. This converter moves identifiers and prose between nine styles in one click, and it splits words intelligently — whether the input uses spaces, underscores, hyphens or camel humps.

Plain prose is covered too: Title Case for headlines, Sentence case for tidying paragraphs, and plain UPPERCASE or lowercase for undoing caps-lock accidents. The conversion is instant and entirely local.

Like every TextKit tool, the Case Converter runs entirely on your device. There is no account, no upload and no record of the content you process — close the tab and everything is gone.

Frequently asked questions

Can it convert camelCase to snake_case correctly?

Yes. The splitter recognises the hump boundaries, so monthlyActiveUsers becomes monthly_active_users — not a single mangled token.

Which style should database columns and URLs use?

snake_case is the database convention; kebab-case is the URL convention (underscores can be hard to see in underlined links). Constants in most languages use CONSTANT_CASE.

What does Title Case do to small words like "and" and "the"?

This converter capitalises every word, including small ones — it is a mechanical title case, not a style-guide-aware one. Adjust minor words by hand if your house style requires it.

Related tools

~/tool/word-counter

Word Counter

Words, characters, sentences and reading time — counted live as you type.

~/tool/diff-checker

Diff Checker

Compare two texts line by line and see precisely what changed.

~/tool/lorem-ipsum-generator

Lorem Ipsum Generator

Generate placeholder paragraphs, sentences or words for your layouts.