Dot Case Converter
Convert text to dot.case (e.g., hello.world) for object paths and namespaces.
Continue with Related Tools
What is dot.case?
The dot.case Converter transforms text into dot.case format - lowercase words separated by dots (periods). It's commonly used for object property paths, namespace identifiers, and hierarchical configuration keys where dots represent levels of nesting.
Premium Features
Live Conversion
Instant dot.case results as you type paths.
File Upload
Load .txt files with object paths or namespaces.
Batch Mode
Convert multiple paths line-by-line.
Common Use Cases
Object Property Paths
Format object paths for JavaScript/TypeScript (config.database.host) and deep property access in data structures.
Namespace Identifiers
Convert namespace paths for Java packages (com.example.app), XML namespaces, and hierarchical identifiers.
Config File Paths
Format configuration keys for YAML, TOML, and other config formats that use dot notation for nested values.
Lodash/Ramda Paths
Create path strings for lodash.get(), lodash.set(), and similar utility libraries that use dot notation.
Need Other Programming Cases?
Check out our camelCase, snake_case, kebab-case, PascalCase, and CONSTANT_CASE converters.
Explore All Case Options →dot.case Naming Rules
Format:
- ✓ All lowercase: No uppercase letters
- ✓ Dots as separators: Words separated by periods (.)
- ✓ No other separators: No spaces, hyphens, or underscores
- ✓ Example: "config database host" → "config.database.host"
Example
Frequently Asked Questions
What is dot.case?
dot.case is a naming convention that uses lowercase letters with dots (periods) as separators. For example, 'user name' becomes 'user.name'. It's commonly used for object property paths, namespaces, and configuration keys.
When should I use dot.case?
Use dot.case for: Object property paths (config.database.host), namespace identifiers, package names in some languages, configuration file keys, and anywhere dot notation is the standard.
How is dot.case different from snake_case?
dot.case uses dots as separators (user.profile.name), while snake_case uses underscores (user_profile_name). dot.case is typically used for hierarchical paths and namespaces, while snake_case is for variable names.
Can I convert multiple paths at once?
Yes! Enable Batch Mode to convert multiple object paths or namespace identifiers line-by-line. Perfect for formatting configuration paths or package names.
What programming contexts use dot.case?
dot.case is used in: JavaScript object path notation (lodash.get), configuration files (YAML, TOML), Java package names (com.example.app), namespace identifiers, and hierarchical data structures.
Can I upload a file with paths?
Yes! Click the Upload icon to load a .txt file (max 1MB) containing paths or namespace names to convert. Useful for batch formatting configuration files.
Is my data saved or stored?
No. All conversion happens 100% client-side in your browser. Your paths and data never leave your device.
Is this dot.case converter free?
Yes, completely free with no registration, hidden fees, or limitations. Use it for personal or commercial projects.