What Is a BAK File? How to Open and Restore It on Windows

5 mins read

Updated on 2026-11-10 11:47:16 to Wiki

A BAK file is a backup that uses the .bak filename extension. It might contain a drawing, text, application settings, or a database backup. There is no single BAK file format or universal opener. On Windows, identify what created the file, inspect a copy, and then use the appropriate opening or restore method below.

BAK backup-file illustration with duplicate documents, folder and restore arrow

What Is a BAK File and Why Was It Created?

BAK stands for backup. Programs use these files to retain data before a save, repair, upgrade, or other change. For example, an editor might preserve yesterday's configuration before writing today's settings. If today's settings break the application, that earlier copy provides a way back.

The original extension can be retained, as in settings.ini.bak, or replaced, as in settings.bak. These names describe the file's role rather than its internal structure. A plain-text backup and a SQL Server backup can both end in .bak while requiring entirely different tools.

Some BAK files are created automatically; others are copies renamed by a person. Whether one exists, where it is saved, and how often it is replaced depend on the program's settings. Saving a file does not guarantee that a BAK was created.

A BAK also is not necessarily the latest version, an autosave of unsaved work, or a complete backup of everything in an application. It can preserve an earlier mistake. Check the contents you need rather than assuming that “backup” means “latest good copy.”

Identify an Unknown BAK File on Windows

Start by copying the BAK into a separate working folder. Keep the original backup and any current working file untouched while you investigate.

1 Show the Complete Filename and Check Its Origin

In Windows 11 File Explorer, select View > Show > File name extensions. In Windows 10, open the View tab and check File name extensions.

Windows 11 File Explorer View and Show menus with File name extensions highlighted

Inspect the full name, neighboring files, and the folder containing it. Right-click the file and choose Properties to check its size and modification date. Dates and sizes help compare candidates, but do not establish the format or prove that a backup is complete. The Windows icon only reflects a file association.

What you findWhat to investigate next
settings.ini.bak beside settings.iniA possible text configuration backup; compare copies
plan.bak beside plan.dwg in an AutoCAD projectAn AutoCAD drawing backup
A BAK supplied by a database administratorWhich database product, version, and backup set created it
A BAK created during Outlook PST repairThe Inbox Repair Tool backup route
Only a name such as backup.bakAsk the sender or check the originating application's backup records

Treat these as clues, not proof. If you received the file from someone else, ask which program created it and what it is supposed to restore. That answer is more useful than installing several unrelated BAK viewers.

2 Inspect a Copy as Text

For a small unknown file, or one you expect to contain text, open Notepad > File > Open, change the filter to All files, and select the duplicate. Read without saving changes.

Recognizable configuration sections, XML tags, JSON, or readable script text can narrow the possibilities. For instance, readable settings inside settings.ini.bak support investigating it as a configuration backup. Compare the structure with the current file and the application's documentation before restoring it.

If Notepad shows mostly symbols, stop treating it as text. Binary, compressed, or encrypted data can look unreadable without being damaged. Large database backups should go directly to the administrator's restore tools rather than a text editor.

3 Check File Headers When the Source Is Still Unclear

For an optional read-only inspection, Windows PowerShell can show the beginning of a file. Open Start, search for Windows PowerShell, and run this command after replacing the example path with your copy's full path:

Format-Hex -LiteralPath 'C:\BAK-check\unknown.bak' | Select-Object -First 4

The output shows byte values and a character column. A recognizable header can suggest the underlying format: Microsoft's example uses a %PDF header to identify a renamed PDF. A header is a clue, not proof that the entire file is valid. Unclear output calls for the source application's documentation or help from the sender, rather than editing bytes or guessing extensions.

Open or Restore the BAK with the Correct Program

Use the route matching the file's established origin. Opening displays a file; restoring loads backup data through its application; converting exports data into another format. Changing a filename alone does not perform all three tasks. Our file extension guide explains Windows rename controls.

1 Open a Text or Document Backup

Keep confirmed text backups in the editor for inspection. To use a known unchanged Word backup such as report.docx.bak, rename the duplicate to report-restored.docx, accept the extension warning, and open it in Word. Only use this route when the original format is established.

Before replacing anything, open the restored copy and current file separately. Compare the actual paragraph, record, or setting you need. For example, a configuration backup might restore a working server address but lose newer settings. You may need selected values rather than the entire older file; make those changes through the application's supported process.

Save the checked result under a new name. If the application requires an exact configuration filename, close it and follow its documented replacement procedure after separately preserving the current version. Successfully opening a file does not prove that it contains the version you wanted.

2 Restore an AutoCAD Drawing Backup

For a confirmed AutoCAD drawing backup:

  • Close the drawing and copy plan.bak into a separate folder.

  • Rename the duplicate to plan-restored.dwg, accepting the extension warning.

  • Open it in AutoCAD and inspect the drawing, including the objects or recent changes you need.

  • Save the checked version under a new name.

If the full name becomes plan-restored.dwg.bak, enable file name extensions and remove the final .bak. If the drawing opens but lacks recent edits, the backup may predate them. For missing drawings or autosave files, follow our AutoCAD drawing recovery guide.

3 Restore a SQL Server Backup into a Separate Database

A SQL Server BAK is a database backup, not an MDF file with the wrong extension. Use a compatible SQL Server instance and an account with restore permissions. Encrypted backups need the required certificate or key. Differential or log backups require the corresponding backup chain; obtain the complete set from the administrator first.

For a full database backup, use SQL Server Management Studio:

  • Connect to the server, right-click Databases, and choose Restore Database.

  • Under Source, select Device, click …, then Add the BAK file. Confirm the dialogs to return to the restore window.

  • Under Destination, enter a new, unused database name and review Backup sets to restore.

  • On Files, use Relocate all files to folder and choose separate data and log locations that do not conflict with existing database files.

  • On Options, clear Take tail-log backup before restore if selected, and leave Overwrite the existing database unchecked. Review the new name and file paths, then click OK.

This route is for restoring a separate copy, not replacing a live database. After the success message, inspect the restored database and query known records to check that it contains the version needed. For missing database files and deeper restore scenarios, use our SQL database recovery guide.

4 Import an Outlook Repair Backup into Classic Outlook

Use this route only for a BAK produced by Outlook's Inbox Repair Tool. The tool can create a BAK alongside the original PST during repair; the backup may contain additional recoverable items.

  • Copy the repair backup and name the duplicate mail.bak.pst.

  • In classic Outlook, choose New Items > More Items > Outlook Data File to create a separate destination, then select its folder.

  • Open File > Open & Export > Import/Export.

  • Choose Import from another program or file, then Outlook Data File (.pst), and select the duplicate.

  • Choose Import items into the current folder, click Finish, and inspect the recovered folders and items.

Classic Outlook Open and Export page showing the Import and Export entry

Keep the original PST and BAK until you have checked the results. Renaming an unrelated BAK to PST will not make it an Outlook backup, and the import may not recover every item.

What to Do If a BAK File Will Not Open

Use the symptom to choose the next action instead of repeatedly changing extensions.

SymptomNext action
Windows asks you to choose an appIdentify the source, then open the copy from the appropriate program; this prompt alone does not show corruption
Notepad displays unreadable charactersCheck whether it is binary or an application backup; use source information or read-only header inspection
A renamed file is rejectedCheck the full filename for a hidden final .bak, then confirm the original format and application version
SQL Server cannot restore itUse the exact error to investigate server compatibility, file access, encryption keys, or missing backup dependencies
The file opens but expected data is absentCompare versions and the relevant content; look for a later backup or autosave rather than assuming damage

A BAK can also be incomplete or damaged after an interrupted copy, storage error, or failed backup. Check Properties for an empty file and compare its size with the source copy if one is available. A nonzero size does not prove validity. Request another copy or use another backup when the original transfer was incomplete.

When the correct program reports corruption, preserve the backup and use that program's documented verification or repair process on a copy. If a text backup is partly readable, copy intact information into a new document and check the required structure in its application. Treat this as partial recovery, not proof that the entire backup has been restored. Data recovery software retrieves lost file data; it does not automatically repair a damaged database backup or reconstruct missing backup dependencies.

Recover Missing BAK Files with 4DDiG

If you cannot find the BAK, first check the application's configured backup folder and the original document folder. In File Explorer, select the relevant folder or drive and search for the known filename or .bak. Broaden the search to This PC if needed. Also check the Recycle Bin and any separate backup. A BAK may never have been created if backups were disabled.

If a backup or original file was previously stored on the drive and is now missing, 4DDiG Data Recovery provides a scan-and-recover path. Opening or restoring the recovered backup still requires its source application.

FREE DOWNLOAD

Secure Download

FREE DOWNLOAD

Secure Download

Download and install the Windows version on another drive. Stop writing new files to the affected drive to reduce overwriting. Recovery depends on the data that remains and is not guaranteed.

  • Select the Original Storage Location

    Launch 4DDiG and select the drive that held the missing backup or original file. Start a scan of that location.

    4DDiG Windows interface for selecting the source drive where a backup or original file was lost
  • Search the Results and Preview Supported Files

    Use filename search, Path view, and filters to locate candidates. Try the original name and .bak. Preview supported files where available; a BAK entry or filename alone does not confirm a usable backup.

    4DDiG scan results showing file categories, search and filters
  • Recover to Another Drive and Check the File

    Select the required files and click Recover. In the destination dialog, select Local and save to another drive. Then open or restore a copy using the matching method above and verify its contents.

    4DDiG Windows dialog for choosing a local destination on another drive

Keep Useful Backups for Future Changes

Check the originating application's backup options before your next important edit. Prefer settings that make the original file type and backup location easy to recognize. If the program supports versioned backups, retain multiple versions so one later save does not become your only rollback choice.

For example, in AutoCAD, enter ISAVEBAK at the command line, press Enter, set it to 1, and press Enter again to enable drawing backup creation. Editors may offer a choice between appending .bak and replacing the original extension, plus a separate backup directory. These options vary by application; changing the extension yourself does not schedule future backups.

Keep another backup on separate storage, and periodically restore a sample into a new location to check that it is usable. A BAK beside the working file helps with some editing mistakes, but both copies remain exposed if that storage fails.

FAQs About BAK Files

Can a BAK File Recover an Overwritten File?

Yes, if it contains the earlier version you need. Preserve both versions, restore the BAK as a separate copy, and compare the relevant content. If the backup was also replaced, look for another version or separate backup. A BAK cannot supply changes it never captured.

Can I Delete a BAK File?

Yes, after verifying the working file and confirming that the backup is no longer needed. Keep another usable copy of important data first. For an ordinary local file, select that specific BAK in File Explorer and press Delete; check the confirmation and destination rather than using bulk deletion. For managed database backups, follow the administrator's retention policy. Deleting it removes that recovery option.

Can I Convert a BAK File to PDF or Excel?

Only if its underlying data supports that output. Open or restore it in the original application, then use the application's export function. Changing .bak to .pdf or .xlsx does not convert the contents. A SQL Server backup needs restoration before selected database data can be exported.

Can I Open a BAK File Online?

There is no universal online BAK opener. An online tool must support the actual format inside the backup. Identify it locally first, then choose a tool for that format. For company or personal records, use an approved application rather than uploading an unidentified backup to a generic viewer.

Conclusion

Identify the source of a BAK file, inspect a duplicate, and choose between opening a normal file copy and restoring through the original application. Verify the recovered content before replacing the working version. If the file itself is missing, try 4DDiG Windows Data Recovery, then check the recovered copy in the appropriate program.

FREE DOWNLOAD

Secure Download

FREE DOWNLOAD

Secure Download

William Bollson (senior editor)

William Bollson, the editor-in-chief of 4DDiG, devotes to providing the best solutions for Windows and Mac related issues, including data recovery, repair, error fixes.

(Click to rate this post)

You rated 4.5 ( participated)