dot.case Converter

Type or paste text and get dot.case as you type: lower-case words joined with full stops, like checkout.payment.failed. It also converts camelCase, snake_case and kebab-case names, so "paymentFailed" becomes "payment.failed".

Enter your text
Result (dot.case)

Features

  • Converts to dot.case as you type

  • Example: "Checkout Payment Failed" becomes checkout.payment.failed

  • Understands spaces, hyphens, underscores, dots and existing camelCase humps

  • Converts a list line by line

  • Switch to any of the other 12 cases with one click

  • Copy the result

  • Runs in your browser: your text is never uploaded. Free, no signup

Where dot.case is used

Translation (i18n) keys

Keys such as home.hero.title in translation files for Hindi and English versions of an app.

Config and properties files

Java .properties and many config systems use keys like server.port and mail.smtp.host.

Analytics event names

Event names such as signup.form.submitted keep reports grouped.

dot.case rules

How text becomes dot.case

  • All letters are lower case.
  • Words are joined with a full stop.
  • Spaces, hyphens, underscores and punctuation are removed.
  • Each line converts separately, so you can build a list of keys at once.

How words are split

Words are found at spaces, punctuation, and at the humps of existing camelCase or PascalCase (parseHTTPResponse becomes parse, HTTP, Response), so you can convert between any of the programming cases and back. Each line is converted on its own, so a list of names converts in one go. Letters and digits in Hindi and other scripts are kept.

Other cases and tools

dot.case Converter - FAQ