Dot Case Converter — Convert Text to dot.case Online
What is dot.case?
dot.case is a naming convention where words are separated by periods (dots) and all letters are lowercase. It looks like this: "my.variable.name". It mirrors the visual appearance of a file extension or a URL domain, using dots as logical separators between word components.
dot.case is less common than camelCase, snake_case, or hyphen-case, but it fills a specific niche in configuration systems, logging frameworks, and package namespacing. Many configuration file formats use dot-separated keys to express hierarchy: "database.host", "server.port", "logging.level" are typical examples.
Java package names follow dot.case convention (com.company.product), as do many internationalization (i18n) message key systems. Spring Boot, Log4j, and many other Java/Kotlin frameworks use dot-case for configuration properties.
Example
| Input | Output (dot.case) |
|---|---|
| Hello World Config | hello.world.config |
How to Convert to dot.case
- Paste your text — a property name, a configuration key, or any word group.
- Click dot.case.
- Copy the dot-separated result for use in your config file or code.
When to Use dot.case
Use dot.case for configuration property keys in YAML, TOML, and properties files where hierarchy is expressed through dot notation. It's also used for Java package names, logging category names, and internationalization message keys.
In Node.js ecosystems, environment variable names in configuration libraries like dotenv sometimes use dot.case in their documentation examples. Semantic versioning and some package systems also use dot-separated identifiers.
Common Use Cases for dot.case
- Configuration file property keys (Spring Boot, Java)
- Java package name conventions
- Logging category and namespace names
- Internationalization (i18n) message keys
- Hierarchical configuration key structures
- Semantic version components and identifiers
Frequently Asked Questions
What is dot.case?
dot.case separates words with periods and uses all lowercase letters: "my.variable.name". Used primarily in Java package names, configuration files, and logging frameworks.
Where is dot.case commonly used?
dot.case is standard for Java package names (com.company.module), Spring Boot and Quarkus configuration properties, Log4j logger names, and i18n message bundle keys in many frameworks.
What is the difference between dot.case and snake_case?
dot.case uses periods as separators ("my.variable"), snake_case uses underscores ("my_variable"). Functionally similar, but used in different contexts: dot.case for namespaced config and Java; snake_case for Python, Ruby, and SQL.