BrowserTools logoBrowserTools.in
EverydayImagesIndiaDeveloperAudioVideoPDFRecordingFavorites
Ad space
BrowserTools logoBrowserTools.in

Free tools for everyday tasks

Categories

Everyday ToolsImage ToolboxIndia Utility HubDeveloper ToolboxAudio ToolboxVideo ToolboxPDF ToolboxRecording Studio

Resources

Guides & TutorialsAboutContactSitemap

Legal

Privacy PolicyTerms of ServiceDisclaimer
© 2026 BrowserTools.in. All rights reserved.
HomeDeveloper ToolboxFile Name Sanitizer

File Name Sanitizer

Remove or replace characters in filenames that are illegal on Windows, macOS or Linux, and fix reserved Windows names.

Your file is processed locally in your browser and is not uploaded to our server.

Sanitized filenames

My File- Version 2 (final)-.txt
_con.txt
report-draft-.docx
Ad space

How to use File Name Sanitizer

  1. 1Paste one or more filenames, one per line.
  2. 2Characters illegal on Windows/macOS/Linux are replaced, and reserved Windows names are prefixed.
  3. 3Copy the cleaned filenames.

Frequently asked questions

The characters / \ ? % * : | " < > are replaced with a hyphen, since they are disallowed by at least one major operating system.

Related tools

Developer
Batch File Renamer

Add a prefix/suffix or change extension across many files.

Developer
MIME Multipart Builder

Build a raw multipart/form-data request body.

Developer
File List Generator

Generate a formatted list of file names, sizes and types.

Developer
Data URI Decoder & Encoder

Decode data: URIs or encode files (up to 5MB) into Base64 data URIs.

Developer
Color Contrast Checker

Check WCAG AA/AAA contrast between two colors.