Anyfile is in beta, so a few things may not work perfectly yet. Tell us what you find

Batch file

Open and edit BAT files

You can open, view and edit BAT files for free right here in your browser, without Command Prompt (to run) and without uploading anything. A list of commands for the Windows command interpreter, a format inherited from MS-DOS. Double-clicking it runs the commands one by one.

Files are converted in your browser and never uploaded. By using Anyfile you agree to the Terms of Use.

View a BAT file without Command Prompt (to run)

Open and viewYes
EditYes
Create a new oneYes, with New file (blank or from a template)
Save as BATYes, keeping what Anyfile doesn’t show
FormatBy Microsoft, since 1981

Edit BAT files

Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them.

More about the text and code editor

.bat

batch file

A list of commands for the Windows command interpreter, a format inherited from MS-DOS. Double-clicking it runs the commands one by one.

Small automation jobs on Windows, such as copying files or starting programs.

Opens in Command Prompt (to run), Notepad, VS Code

Questions

How do I open a BAT file without Command Prompt (to run)?

Drop it on this page, or choose it. It opens in Anyfile’s text and code editor right in your browser, with nothing to install and no account.

Can I edit a BAT file online for free?

Yes. Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them..

Is my BAT file uploaded?

No. It opens, changes and saves on your device. Nothing is sent to a server.