Skip to content
Jellykit

Dot Case Converter

Turn phrases and identifiers into dot.case names for config keys, translation keys and package names.

  • Runs on your device
Loading tool

About Dot Case Converter

Settings files, translation catalogues, logging categories and Java packages often name things with dots: app.user.profile, checkout.button.label. Paste a phrase or a name written in another style, such as userProfileLabel or user_profile_label, and get user.profile.label back.

Each line becomes one name, so a whole list converts in one paste. Words can also be joined with a slash or a backslash, and their letters kept as typed or set in capitals.

How it works

  1. Each line is split into words at spaces, punctuation, underscores, hyphens, dots and slashes, and at every step from a small letter or digit to a capital.
  2. A run of capitals counts as one word; its last capital starts the next word when a small letter follows, so HTTPResponse reads as HTTP and Response.
  3. The words are cased as you choose and joined with the separator, with nothing left at either end. Empty lines stay empty.

Questions

What happens to accents and non-Latin letters?

They are kept, and lowercased or uppercased by Unicode rules. If the names must be plain ASCII, run them through the slug generator instead, which removes accents.

Why did an apostrophe disappear?

Apostrophes are removed without splitting the word, so "user’s name" becomes users.name rather than user.s.name.

How much text can it take?

Up to 5 MB of text, which is hundreds of thousands of names. The conversion runs in your browser and nothing is uploaded.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.