Skip to content
Jellykit

Path Case Converter

Write names as path/case, lowercase words joined by slashes, for routes, folder layouts and namespaced keys.

  • Runs on your device
Loading tool

About Path Case Converter

Web routes, folder structures, storage keys and topic names are often written as words separated by slashes. Paste "Account Billing History" or accountBillingHistory and get account/billing/history.

Every line is converted on its own, so a list of screens or components becomes a list of paths. Only the slashes between words are added: nothing is put at the start or end, and no folder on your computer is read or created.

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

Can I get backslashes for Windows paths?

Yes. Choose Backslash under Join words with. The same control also offers dots, for config and translation keys.

Does it keep the slashes already in my text?

Existing slashes, dots, hyphens and underscores are all treated as word breaks, so "src/UserProfile" becomes src/user/profile. Runs of breaks collapse to a single slash.

Is the result safe to use in a URL?

Only if the words are plain letters and digits. Accented and non-Latin letters are kept; for a web address the slug generator, which turns them into plain letters, is the safer choice.

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