dot.case Converter

Convert any phrase into dot.case — all lowercase, words joined by dots. Common in config keys, namespaced identifiers, and i18n translation keys.

Example: User Profile Background Coloruser.profile.background.color

dot.case is a naming convention where words are written in lowercase and joined by dots. It's used heavily for hierarchical configuration keys, internationalisation translation keys, and any context where the dot communicates a logical grouping.

Unlike snake_case or kebab-case, the dots in dot.case usually carry semantic meaning — they signal namespace or hierarchy boundaries, not just word separators.

Use cases

i18n translation keys

nav.home.label, checkout.cart.empty.message, errors.validation.email. Translation libraries (i18next, vue-i18n, react-intl) use dot-separated keys to navigate a nested translation object.

Configuration files

Spring Boot's application.properties, log4j config, and many older Unix tools use dot.case for hierarchical configuration: spring.datasource.url, logging.level.root.

Permission strings

RBAC and ABAC systems often encode permissions as dot.case strings: user.read, billing.invoice.write, admin.users.delete. The dots make the hierarchy obvious.

Event names in analytics

Mixpanel, Segment, and similar analytics tools commonly use dot.case event names: user.signed_up, checkout.completed, video.playback.started.

DNS-style identifiers

Reverse-DNS package naming uses dot.case: com.example.app, org.apache.commons. Java, Android, and macOS bundle identifiers all rely on this convention.

Frequently asked questions

dot.case vs slash/case — what's the difference?

They're often interchangeable for hierarchical paths. Dots are more common for in-code identifiers and config keys; slashes are more common for filesystem paths and URL segments. Choose based on context, not either-or.

Will dots in identifiers break my code?

Yes — most languages use dots for property access (obj.prop), so dot.case is for strings, not identifiers. Use it as the value of a string variable, not as the variable name itself.

How are leading or trailing dots handled?

The converter strips them. ".user.name." becomes "user.name". If you need the leading dot for a relative-path or hidden-file convention, add it back manually.

Can I use dot.case for filenames?

Possible but unusual — most operating systems treat the last dot as the extension separator, so my.config.file.json is interpreted as a JSON file named my.config.file. Use kebab-case for filenames unless your tool explicitly expects dots.

Embed our tools on your website

Free for any site. No signup. Iframe loads from our servers and stays up-to-date automatically.

📋 Embed the Word Counter

Copy this snippet:

Live preview:

📋 Embed this dot.case Converter

Copy this snippet:

Live preview:

Want more options? All embeddable tools →