dot.case Converter
Convert any string to dot.case — lowercase words joined by periods. Common in version numbers and config keys.
0 characters
0 characters
About dot.case Converter
dot.case joins lowercase words with periods. It's the convention for Java package names, hierarchical config keys (logging.level.root), versioned filenames (file.v1.0), and namespaced identifiers in many config formats (TOML, dotenv-style keys).
When to use it
- Producing Java-style package names from a folder hierarchy
- Generating config keys for a properties file or environment dotenv
- Building hierarchical metric names for monitoring (api.requests.total)
- Producing version-style identifiers (release.note.draft)
How it works
The input is split into words via the standard boundary detection. Each word is lowercased and the words are joined with a period.
Examples
Logging Level Root
logging.level.root
userProfilePage
user.profile.page
Frequently asked questions
- What if my input already has dots?
- Dots are treated as word separators in the input, so existing dots are preserved (in the sense that the same structure round-trips).
- Is dot.case used for filenames?
- Sometimes — version-suffixed filenames (config.v2.json) use dots, but the convention varies. Hyphens (kebab-case) are more portable across operating systems.