path/case Converter
Convert any string to path/case — lowercase words joined by forward slashes. Useful for URL paths.
0 characters
0 characters
About path/case Converter
path/case joins lowercase words with forward slashes — the convention used for URL paths, directory hierarchies, and other slash-separated identifiers. This is essentially kebab-case with slashes instead of hyphens.
When to use it
- Generating URL paths from page titles or section names
- Producing folder hierarchies from a flat list of labels
- Building API route patterns from a domain model
How it works
The input is split into words via the standard boundary detection. Each word is lowercased and the words are joined with a forward slash.
Examples
User Profile Page
user/profile/page
APIRouteHandler
api/route/handler
Frequently asked questions
- Why forward slash and not backslash?
- Forward slashes are the universal separator for URLs and Unix paths. Backslashes are Windows-specific. For Windows paths, do a find-and-replace of / → \ after conversion.
- Are leading/trailing slashes added?
- No. The output has no leading or trailing slash; only single slashes between words. Add them manually if needed.