Drop any file to identify it
No upload. No signup. No sending your file halfway across the internet.
We tell you what it is, right here in your browser.
Drop it!
Let go to identify this file.
Couldn't identify this file
Need to convert it? fwip it →
You found a .bat file — a batch script for the Windows Command Prompt. It's a plain text file containing a sequence of commands that Windows executes line by line. Batch files automate repetitive tasks: renaming files, running backups, setting environment variables, or launching applications with specific parameters.
Batch scripting dates back to MS-DOS in the 1980s and uses a syntax that reflects its age — IF/ELSE conditions with bizarre escaping rules, FOR loops that look like someone lost a fight with a keyboard, and environment variable expansion using percent signs. Despite being objectively terrible as a programming language, batch files persist because they work on every Windows machine without installing anything. PowerShell (.ps1) is the modern replacement for serious scripting.
Any text editor opens .bat files. Double-clicking runs the script in Command Prompt — which is why you should never run batch files from unknown sources. They can do anything your user account can do: delete files, modify the registry, download executables. Read the file in a text editor first if you didn't write it yourself.