Phrases or other cases to dot.case keys for config and i18n
path/case Converter
Turn a name into a folder path or route segment list, one level per word, without typing slashes by hand.
Loading tool…
How to use path/case converter
Paste names or phrases, one per line.
Keep ASCII only on for paths used in URLs or on several operating systems.
Check where the breaks fall in the words found panel.
Copy or download the paths.
What this tool does
- Turns admin_billing_invoices into admin/billing/invoices and UserSettings into user/settings.
- Reads existing slashes, dots and dashes as breaks, so mixed input is tidied into one form.
- Lowercases every segment, avoiding problems on case-sensitive file systems.
- Converts accents to plain letters on request.
How the result is verified
Each path is split on its slashes and must give back the same words, in the same order, as the input line.
Frequently asked questions
Why lowercase every folder name?
Linux file systems are case sensitive and macOS and Windows usually are not, so Reports/ and reports/ can be one folder on a laptop and two on a server. All lowercase paths avoid that whole class of deployment bug.
Does it add a slash at the start?
No. Routes, storage keys and module paths differ on whether they want one, so the tool leaves it to you.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
camelCase or phrases to kebab-case for CSS, files and URLs
Titles to clean URL slugs with transliteration and a length limit
Every case at once: upper, lower, title, sentence, camel, snake, kebab and more