path/case
All lowercase words joined by forward slashes - mirrors file system paths and URL structures. Supports up to 50,000 characters.
Programming Tools
Input Text
0 / 50,000
Converted Text
Result will appear here…
About
What is path/case?
path/case joins all words in lowercase separated by forward slashes. It directly mirrors the syntax of file system paths and URL route segments, making it the natural format whenever an identifier needs to represent a hierarchical location. The forward slash is universally understood as a path separator across Unix, the web, and most modern tooling - path/case makes that hierarchy explicit and readable.
Example
Input
src components ui button
Output
src/components/ui/button
Usage
When to use path/case?
File system paths
Represent file and directory structures as strings - src/components/ui/button, app/api/users/route, lib/utils/format.
URL route segments
API route definitions and URL patterns map directly to path/case - /api/users/profile, /products/category/detail.
Module import paths
Some module systems and monorepo tools reference packages and files using path/case strings - @scope/package/utils/helpers.
CMS & content slugs
Headless CMS platforms and static site generators use path/case to represent content hierarchy - blog/2024/getting-started.
Try More