Slugify Path

Free slugify-path tool: turn a URL path like /Blog Posts/My Post/ into /blog-posts/my-post/, slugifying each segment separately while keeping the slashes. Runs in your browser.

Enter a path above.

How slugify path works

A URL slug is the lowercase, hyphen-separated version of a text segment used in web addresses. This tool slugifies a whole path at once, but it treats each slash-separated segment independently so the path structure is preserved.

For each segment between slashes the tool lowercases the text, strips accents and special characters, and joins the remaining words with the separator you choose (a hyphen or underscore). The slashes themselves are kept, so a leading, trailing, or double slash survives in the output exactly as it appeared in the input. Backslashes are normalised to forward slashes first, which is handy for Windows-style paths.

Everything runs locally in your browser. Paste a path like /Products/Summer Sale 2024/ and get back /products/summer-sale-2024/ ready to drop into a router, sitemap, or permalink config.

Frequently asked questions

How is this different from the Slug Generator?
The Slug Generator slugifies a single string. Slugify Path slugifies every segment of a path separately while keeping the slashes, so /A B/C D/ becomes /a-b/c-d/ instead of one flat slug.
How are slashes handled?
Forward slashes are preserved exactly, including leading, trailing, and consecutive slashes. Backslashes are converted to forward slashes first, so Windows-style paths work too.
Can I use underscores instead of hyphens?
Yes. Pick the underscore separator and each segment will join its words with underscores, for example /my_post/second_path.
Is my path sent anywhere?
No. The tool runs entirely in your browser and never uploads your input.