Text to Slug Converter
Convert any text into a URL-friendly slug with hyphen, underscore, or dot separator.
How to use this tool
- 1Type or paste your text into the Input text field.
- 2Click Hyphen (-), Underscore (_), or Dot (.) to choose the word separator.
- 3The slug appears in the output code block below — click Copy to copy it.
About Text to Slug Converter
Blog post titles, product names, and page headings need to become clean URL slugs before they can be used in a CMS, routing system, or file name. This converter applies a four-step transformation: lowercase the entire string, normalise accented characters using Unicode NFD decomposition and strip the combining diacritical marks (so 'é' becomes 'e', 'ü' becomes 'u', 'ñ' becomes 'n'), remove all remaining non-alphanumeric characters except spaces, then replace whitespace runs with your chosen separator. Three separator buttons let you choose hyphen (-), underscore (_), or dot (.) — the most common slug formats. The result appears in a styled code block with a Copy button. The conversion updates instantly as you type. Developers setting up CMS routes, bloggers creating SEO-friendly URLs, and anyone naming files for a static site generator are the primary users.