Slug Generator

Convert any text into a clean, URL-friendly slug.

Input Text
Slug Output
SLUG
All examples use BASE_URL — set it to your deployment URL.
POST/api/text/slugify
Convert text to a URL-friendly slug. Optional: separator (-, _, .) and lowercase (boolean).
const res = await fetch(`${BASE_URL}/api/text/slugify`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ text: "Hello World! My Blog Post #1", separator: "-", lowercase: true }) }); // → { success: true, result: "hello-world-my-blog-post-1" }