.bak

What is a .bak file?

A generic backup copy — could be literally anything.

Safe format
Type Misc
By N/A (convention)
MIME application/x-backup

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.

What is it

BAK is the most generic file extension in computing — it simply means "this is a backup copy of something." There's no standard format, no specification, no magic bytes. A .bak file could be a database backup (SQL Server), a renamed Word document, an AutoCAD drawing, a configuration file, or any other file that software (or a human) duplicated before making changes.

The convention is simple: before modifying `important.cfg`, copy it to `important.cfg.bak`. If the changes break something, you can restore the original. Many applications automate this — AutoCAD creates .bak files alongside every .dwg save, SQL Server's BACKUP command produces .bak files, and countless scripts and configuration management tools use the extension for their backup copies.

Since .bak files have no inherent format, the only way to determine what's inside is to examine the content. Open it in a text editor — if it's readable, it's probably a config file, script, or data file. If it's binary, check the magic bytes or try renaming it to the original extension. The file is exactly what it was before someone appended .bak to the name.

Technical details
Full Name
Backup File
MIME Type
application/x-backup
Developer
N/A (convention)
Magic Bytes
Varies (depends on original file type)
Safety
.bak is a known, safe format.
What opens it
Depends on content
FREE All
Any text editor
FREE All

* Rename to original extension and open with appropriate application * For text-based backups

FAQ
How do I open a .bak file?
First, determine what it's a backup of — check the original filename or open it in a text editor. If it's binary, try renaming it to common extensions (.docx, .dwg, .sql) until something recognises it.
Is it safe to delete .bak files?
Usually yes — they're backup copies. But verify that the original file exists and is intact before deleting. Some applications (like AutoCAD) create .bak files on every save; these are safe to clean up periodically.
Related formats