convertCASEpro

MODE

dot.case Converter

Turn any phrase or identifier into lowercase words separated by dots.

INPUT
CHARS: 0WORDS: 0LINES: 0
OUTPUT
CHARS: 0WORDS: 0LINES: 0

How the dot.case Converter works

The converter splits your input into words at spaces, underscores, hyphens, existing dots and camelCase boundaries, lowercases them and joins them with a dot. Runs of capitals such as HTTP are treated as one word, so parseHTTPResponse becomes parse.http.response.

Each line is converted on its own, which makes it practical for a list of property names.

When it is useful

  • •Writing property keys for Java and Spring configuration files.
  • •Naming log categories, metrics and event topics.
  • •Building i18n translation keys such as checkout.button.submit.
  • •Converting names for tools such as Kafka, Prometheus and OpenTelemetry that use dotted names.

Frequently Asked Questions

Where is dot.case used?

In dotted property names such as spring.datasource.url, in package and module style paths, and in many metric and event naming systems.

How does it differ from kebab-case?

Only the separator. kebab-case uses hyphens and is common in URLs and CSS, while dot.case uses dots and is common in configuration and namespacing.

Does it keep numbers?

Yes. Digits are kept as part of the word they follow, so version2Api becomes version2.api.

Related tools

[ Browse all tools ]