dot.case Converter - Dot-Separated Keys
What is a dot.case converter?
A dot.case converter turns phrases into lowercase words separated by dots. It’s handy for config keys, logging namespaces, and feature flags where dots signal hierarchy. Processing runs in your browser, so inputs stay private.
How to use the dot.case converter
- Enter text: Paste a phrase, label, or path-like name.
- Convert: Click Convert to generate dot.case output.
- Copy or download: Copy the result or save it as a snippet for configs.
Why use this tool?
- Structured keys: Represent hierarchy in feature flags or config files.
- Consistent naming: Standardize keys across teams and environments.
- Fast: Skip manual typing and avoid punctuation errors.
Use case 1: Feature flags
Convert Checkout Upsell Modal to checkout.upsell.modal for flag keys.
Use case 2: Logging namespaces
Create dot-separated namespaces for structured logs, e.g., auth.login.success.
Use case 3: Config paths
Name config entries with dots for systems that support hierarchical keys.
Examples
Basic example
Input: User Profile Image
Output: user.profile.image
Advanced example
Input: Payment Gateway Retry Limit
Output: payment.gateway.retry.limit
Common errors
Extra dots
Multiple spaces or punctuation can create double dots. Collapse whitespace before converting.
Accented characters
Transliterate accents if you need ASCII-only keys.
Tips and proven approaches
- For URLs, switch to the kebab-case converter.
- For code variables, use the camelCase converter.
- Clean input first with the plain text converter to remove hidden characters.
Related tools
- Generate snake_case with the snake_case converter.
- Build constants using the SCREAMING_SNAKE_CASE converter.
Privacy and security
Conversion happens locally in your browser. No text is uploaded or stored.