getwordcount.com

dot.case Converter

Convert text to dot.case with periods.

Copied to clipboard

This dot.case converter lowercases your text and joins the words with periods — turning app feature enabled into app.feature.enabled. It is used for configuration keys, namespaces and some file naming schemes.

How to use the dot.case converter

  1. Paste a phrase or an existing identifier.
  2. The dot.case version appears instantly.
  3. Copy it into your config or translation file.

What is dot.case?

dot.case writes lowercase words separated by dots, like app.feature.enabled. The dot naturally implies hierarchy, which is why it appears in Java property files, i18n translation keys, feature-flag names and analytics event names — each dot marking a level of nesting.

dot.case next to the other separators

dot.case belongs to a family of lowercase styles that differ only in the joining character: user.profile.title, user_profile_title (snake_case) and user-profile-title (kebab-case) all carry the same words. The dot is the one to reach for when the name describes a hierarchy — checkout.button.clicked reads naturally as an event on a button inside a checkout flow, in a way the flat separators do not. Avoid it where the dot has another job: in file names it can be mistaken for an extension, and in URLs the kebab-case converter or slug generator is the safer choice.

Examples

Inputdot.case
app feature enabledapp.feature.enabled
userProfileTitleuser.profile.title
checkout-button-clickedcheckout.button.clicked

Frequently asked questions

Where is dot.case used?

In configuration keys, i18n translation keys, feature flags and analytics event names — anywhere a dot conveys hierarchy.

How is it different from snake_case?

The only difference is the separator: dot.case joins words with periods, snake_case with underscores. Both are lowercase throughout.

What input does it accept?

Phrases with spaces, hyphens or underscores, plus camelCase — all are treated as word boundaries, so snake_case, kebab-case and camelCase identifiers convert straight to dots.

Can I use dot.case in file names?

You can, but anything after the last dot tends to be read as the file extension, so kebab-case or snake_case is usually the safer choice for files.

Related tools