● Developer Tools

Dot Case Converter: Turn Any Text into dot.case Online

Type or paste a phrase, sentence, or camelCase variable name below and it converts to dot.case instantly — with one-click switches to snake_case, kebab-case, camelCase and PascalCase.

Your text or variable name
Words detected
Input characters
Output characters
Dots added

Every feature, at a glance

Everything this dot case converter does, in one place.

.

Real-time dot.case conversion

Converts your text to dot.case instantly as you type or paste — no button to click.

_

snake_case & kebab-case

One-click switches to underscore-separated snake_case or hyphen-separated kebab-case.

aB

camelCase & PascalCase

Also converts to camelCase and PascalCase for languages that prefer those conventions.

🔍

Smart word-boundary detection

Automatically splits camelCase and PascalCase input like "userProfileName" into separate words.

Cleans up messy input

Strips extra spaces, hyphens and underscores so mixed formatting still converts cleanly.

#

Numbers preserved

Digits within words are kept in place and treated as part of the surrounding word.

Namespace-style preview

A live breadcrumb preview shows your text as a dotted namespace path as you type.

W

Live conversion stats

See word count, input/output character counts, and dots added as you type.

Copy & download

Copy the converted text to your clipboard or download it as a plain .txt file in one click.

🔒

100% private

All conversion happens locally in your browser. Nothing you type is ever uploaded or stored.

Free & unlimited

No signup, no paywall, no daily limit — use it as many times as you like.

Works on any device

Fully responsive layout that works the same on phone, tablet and desktop.

What is dot.case, and what is this converter for?

Dot case is a naming convention where every word in a phrase is lowercased and joined together with periods — turning "User Profile Name" or "userProfileName" into user.profile.name. This tool converts any input — plain sentences, hyphenated phrases, or camelCase/PascalCase variable names — into dot.case instantly, entirely as JavaScript inside your browser. There's no upload and no server round-trip, so your code or data never leaves your device.

How word boundaries are detected

The converter splits your input wherever a new word logically begins: at spaces, hyphens, underscores, and at the transition from a lowercase letter to an uppercase letter (as in "userProfile" → "user" + "Profile"). It also handles consecutive capitals correctly, so "UserID" becomes user.id rather than user.i.d. Detected words are then rejoined using the rules of whichever case style you select.

dot.case vs. dotted namespaces

Dot case is just a word-separator convention — like snake_case but with periods instead of underscores. It's worth noting this is different from a genuine namespace or file path, where each segment can itself carry independent meaning (like a Java package or a nested config key). This tool formats a single name into dot-separated words; it doesn't validate or resolve namespace structure.

Where dot.case is used

  • Java & Kotlin packages — package names conventionally use lowercase dot notation, like com.example.app.
  • i18n / l10n translation keys — localization files commonly key strings as errors.form.required.
  • Nested config keys — JSON, YAML and .env-style configs sometimes flatten nested keys with dots, like database.connection.timeout.
  • Object property paths — utility libraries like Lodash use dot notation in _.get(obj, 'user.profile.name').
  • Analytics event naming — some analytics platforms recommend dot-separated event names, like checkout.step.completed.

Naming convention comparison

Case styleExampleCommon use
dot.caseuser.profile.nameJava packages, i18n keys, config paths
snake_caseuser_profile_namePython/Ruby/Rust variables, DB columns
kebab-caseuser-profile-nameURL slugs, HTML attributes, CSS classes
camelCaseuserProfileNameJavaScript/Java variables & functions
PascalCaseUserProfileNameClass names, C#/Java types, React components

Frequently asked questions

Related tools