Skip to content
Toolcroft

Text Tools

Unslugify Tool - Convert Slugs to Human-Readable Text

Convert URL slugs, file names, and kebab-case or snake_case identifiers into human-readable text. Choose title, sentence, lower, or UPPER output.

Quick examples

What is a slug?

A slug is a URL-safe string that represents a title or label using only lowercase letters, digits, and separator characters (usually hyphens or underscores). Slugs are commonly used in blog post URLs, file names, database identifiers, and programming conventions like kebab-case and snake_case.

What does unslugify do?

Unslugifying reverses the process. It splits the slug on its separator and reassembles the words in a human-readable format. You can choose the output casing:

  • Title Case: Every word starts with a capital letter.
  • Sentence case: Only the first word is capitalised.
  • lowercase: All words in lowercase.
  • UPPERCASE: All words in uppercase.

Separator auto-detection

Set the separator to Auto-detect and the tool will pick whichever separator character appears most often in the input. This works well for mixed inputs where you paste several slugs at once and do not know which convention was used.

Batch processing

Enter one slug per line and every line is converted independently. This makes it easy to unslugify a whole list of URL paths, column names, or file names in a single step.

When to unslugify

Common use cases include:

  • Log file parsing: converting URL path segments like /product-details/blue-widget-xl into readable labels for dashboards.
  • Generated reports: transforming programmatic field names like user_first_name or order_total_amount into human-readable column headers.
  • CMS content: displaying slugified identifiers as readable titles in admin interfaces or breadcrumbs.

Edge cases

  • Dates in slugs: order-2025-01-15 unslugifies as “Order 2025 01 15” - numbers are treated as words.
  • Consecutive separators: --deprecated-- produces empty tokens that are filtered out, resulting in “Deprecated”.
  • All-caps slugs: NASA-REPORT in Title Case becomes “Nasa Report” unless you choose UPPERCASE output.

Reverse operation

To go in the other direction (text -> slug), use the companion Slug Generator tool. Standard slugification rules are: lowercase everything, remove special characters, replace spaces with hyphens, and deduplicate consecutive separators.