← Back to tools

detox

Clean up filenames by replacing spaces, special chars, and UTF-8

File Management linuxmacos C BSD-3-Clause

Description

detox easily cleans up filenames by replacing characters like spaces with standard equivalents and UTF-8 or Latin-1 (or CP 1252) characters with more portable ones. It is useful for batch-cleaning problematic filenames.

AI Summary

Batch clean up filenames by replacing spaces, special characters, and encoding issues

Capabilities

  • + Replace spaces and special characters in filenames
  • + Convert UTF-8 and Latin-1 characters to safe equivalents
  • + Process files recursively
  • + Dry-run mode for previewing changes

Use When

  • You need to clean up problematic filenames
  • You want to batch-sanitize filenames for portability

Related Tools

View AGENTS.md for detox