Skip to content

dot.case Converter

Convert text to dot.case online. Free converter for namespaced keys, config paths, and translation keys.

A dot.case converter lowercases your text and joins the words with full stops, producing keys like user.first.name. It is used for namespaced configuration keys and translation strings.

Examples

InputOutput
user first nameuser.first.name
AppSettings_MaxUsersapp.settings.max.users

When to use the dot.case converter

The dot is a hierarchy separator, so dot.case shows up wherever keys form a tree:

  • i18n translation keys such as checkout.button.submit in i18next, Vue I18n, and Rails locale files.
  • Configuration paths in Spring, log4j, and most Java frameworks (server.port, logging.level.root).
  • Analytics event names and feature-flag keys, where the prefix groups related events.

Because the dot also means "property access" in most languages, dot.case is a naming format for strings, not for identifiers. You will never see a variable named user.name — that is two variables.

Frequently asked questions

Where is dot.case actually used?

Mostly in translation keys, configuration files, and analytics event names — anywhere a key needs to express a hierarchy such as checkout.button.submit.

Can I use dot.case for variable names?

No. In nearly every language the dot is the property-access operator, so user.name reads as the name property of user rather than as a single identifier.