Skip to content
Sumly

File & Slug Name Sanitizer

Sanitize titles and messy strings into clean kebab-case, snake_case, and file paths.

Original string or filename

Strips emojis, accents, illegal OS characters, and normalizes spacing while preserving file extensions.

kebab-case (Web URLs & Assets)
q4-financial-report-v2-1-final-draft-2-notes.pdf
snake_case (Databases & Python)
q4_financial_report_v2_1_final_draft_2_notes.pdf
camelCase (JavaScript Variables)
q4FinancialReportV21FinalDraft2Notes.pdf
PascalCase (React Components)
Q4FinancialReportV21FinalDraft2Notes.pdf

How File & Slug Name Sanitizer works

Normalizes Unicode diacritics into ASCII equivalents (e.g. café -> cafe).

Strips illegal OS filesystem characters while preserving valid file extensions.

Generates kebab-case, snake_case, camelCase, and PascalCase simultaneously.

Worked example

Turn 'Q4 Report (v2) — Notes!.pdf' into clean 'q4-report-v2-notes.pdf'.

The tool above opens with these numbers. Change them to run your own scenario, or press Reset to come back to this example.

Frequently asked questions

Compare two texts or code snippets side-by-side and highlight additions, deletions, and deltas.

Analyze text readability with Flesch Reading Ease and Flesch-Kincaid Grade scores.

Convert Markdown to clean HTML and HTML back to Markdown bi-directionally.

Clean, keyword-dense slugs from any batch of titles.

Words, characters, sentences and reading time — counted as you type.

Your text against every platform limit that matters.

  • filename
  • slug
  • kebab-case
  • snake-case
  • sanitizer
  • content