jarvisbox

Slugify

Convert text to URL-safe slugs with emoji and diacritic removal.

100% in your browser. Your file never leaves your device.

Type or paste text above, then click Slugify.

Why use a slugify tool?

URL slugs must be ASCII-safe, human-readable, and avoid spaces and special characters that browsers percent-encode. Creating slugs manually is tedious and error-prone — it is easy to miss an accented character or leave a trailing hyphen. This tool handles all edge cases: it strips emoji and non-Latin scripts, converts accented characters to their ASCII equivalents, collapses multiple separators, and trims separators from the start and end of the output.

How to use

Type or paste your text in the input box. Choose a separator — hyphens are the web standard and preferred by most CMS platforms, while underscores are common in Python packages and database identifiers. Toggle Lowercase off if your platform requires mixed-case slugs. Click Slugify to generate the result. Click Copy to put the slug in your clipboard ready to use in your URL, filename, or code.

常見問題

What is a URL slug?
A URL slug is the human-readable part of a URL that identifies a page. For example, in "https://example.com/blog/my-great-post", the slug is "my-great-post". Good slugs are lowercase, hyphen-separated, and free of special characters.
How are accented characters handled?
Accented characters are decomposed and their base letters are kept. For example, "café" becomes "cafe" and "naïve" becomes "naive". This preserves readability while making the slug ASCII-safe.
Are emoji and non-Latin scripts removed?
Yes. Emoji and characters outside the Latin alphabet are removed. Chinese, Arabic, Japanese, and other non-Latin characters are stripped because they can cause issues in URLs without percent-encoding.
回報這個工具的問題