Mastodon

Dot Case Converter

Online Dot Case Converter

Dot case is a string formatting convention where spaces, hyphens, underscores, and capital letter boundaries are replaced with a single period (.), and all characters are converted to lowercase. For example, converting the sentence User Account Settings produces user.account.settings.

Our free Dot Case Converter helps software developers, system administrators, technical writers, and database managers quickly format strings. Instead of manually replacing spaces or editing keys line by line, paste your raw text into the input field above and convert it instantly.

What is Dot Case?

Dot case (frequently written as dot.case or referenced as dot-notation string formatting) splits words using periods rather than spaces, hyphens, or underscores. It is an all-lowercase naming style widely used across software configuration files, internationalization (i18n) key paths, and metric namespaces.

Here is a quick look at how different input formats transform into dot case:

Original Input FormatInput ExampleDot Case Output
Title Case / SentenceUser Profile Settingsuser.profile.settings
Snake Caseuser_profile_settingsuser.profile.settings
Kebab Caseuser-profile-settingsuser.profile.settings
Camel CaseuserProfileSettingsuser.profile.settings
Pascal CaseUserProfileSettingsuser.profile.settings

The converter automatically detects word boundaries—including camelCase transitions—and replaces all separator characters with dots while lowering the casing of every character.

Features of Our Dot Case Tool

  • Instant Conversion: Transforms single strings or multi-line text blocks with a single click.
  • Smart Boundary Detection: Handles spaces, underscores (_), hyphens (-), and uppercase transition points smoothly.
  • One-Click Clipboard Copy: Use the Copy button to copy your converted string directly to your clipboard.
  • Client-Side Security: Processing happens entirely inside your web browser. Your text, API keys, and configuration strings are never uploaded to an external server.
  • Multi-Line Processing: Paste whole lists of keys or properties to format multiple lines simultaneously.

Common Use Cases for Dot Case

Dot case is a standard convention across modern application architecture and infrastructure management:

1. Configuration Management (YAML, JSON, Properties)

Modern framework ecosystems use dot notation to define nested properties in configuration files:

  • Spring Boot (application.properties): server.port, spring.datasource.url, logging.level.root
  • NPM & Node.js scripts: build.prod, test.unit, lint.fix

2. Internationalization (i18n) Translation Files

Frontend frameworks (such as React with react-i18next or Vue with vue-i18n) structure localization dictionaries using dot notation key paths:

  • auth.login.submit_button
  • dashboard.header.welcome_message

3. Metric & Telemetry Namespaces

Monitoring and observability platforms (like Prometheus, Datadog, and Graphite) use dot case to categorize application metrics:

  • system.cpu.usage.percent
  • api.v1.request.count

4. Java Packages and Subdomain Routing

Java package declarations and domain-driven software design use reversed domain structures separated by dots:

  • com.company.project.service

Dot Case vs. Other Naming Conventions

Selecting the correct string casing is critical for maintainability and adhering to language-specific style guides. Here is how dot case compares to other common casing styles:

Case StyleVisual ExampleTypical Application
Dot Caseapp.user.settingConfiguration files, i18n translation keys, system metrics
Snake Caseapp_user_settingPython variables, database column names, PostgreSQL tables
Kebab Caseapp-user-settingURL paths/slugs, CSS class names, HTML attributes
Camel CaseappUserSettingJavaScript variables, JSON keys, Java properties
Pascal CaseAppUserSettingClass names in C#, TypeScript, Java, and React components

If your project requires a different naming convention:

  • To convert text into snake case for database tables or Python scripts, use our Snake Case Converter.
  • To generate clean, SEO-friendly URL slugs or CSS classes, switch to our Kebab Case Converter.
  • For standard case changes across larger documents, try our main Case Converter suite.

How to Use the Dot Case Converter (Step-by-Step)

  1. Enter Your Text: Paste or type your string, variable list, or raw text into the input box (Enter your text here...).
  2. Click Convert: Press the blue Convert button to transform your text into dot case format.
  3. Copy Your Result: Click the Copy button to save the converted output directly to your clipboard.
  4. Clear to Reset: Click Clear to remove all text from both the input and output fields for your next conversion.

Frequently Asked Questions (FAQ)

1. What is dot case?

Dot case is a text formatting style where words are converted to lowercase and separated by periods (.) instead of spaces, hyphens, or underscores (for example: database.connection.string).

2. How does the converter handle special characters and punctuation?

Special characters such as exclamation marks, symbols (@, #, $, %), and extra punctuation are automatically removed during conversion to ensure the output remains a clean identifier.

3. Is dot case case-sensitive?

Standard dot case is lowercase. Any capital letters in your original input text will be automatically converted to lowercase during the process.

4. How does the tool process camelCase inputs?

The converter identifies camelCase word boundaries where a lowercase letter meets an uppercase letter (e.g., userProfile). It splits the words at that boundary, inserts a dot, and lowers the case to yield user.profile.

5. Why is dot case useful in configuration files?

Dot case creates logical, hierarchical keys that reflect object properties in formats like YAML or JSON. It helps keep application settings clean, readable, and structured.

6. Can I convert multiple lines of text at the same time?

Yes. You can paste lists of variables, key-value pairs, or entire paragraphs into the input box. The tool converts each line into valid dot case.

7. Does this converter run locally in my browser?

Yes. All text processing occurs locally via JavaScript inside your web browser.

8. Is my input text stored or shared with any external servers?

No. Your input is processed entirely client-side. No text, code, or personal data is transmitted, saved, or logged on any server.