DVI File Extension

DVI file icon

Device Independent Format

What is a DVI file?

The DVI file extension is linked to Device Independent Format and belongs to the Document Files category, which includes 969 files.

DVI files are compatible with various operating systems, including Windows, Mac OS and Linux. To open a DVI file, you can choose from 4 programs such as LaTeX, MiKTeX and LyX.

MIME types

  • application/x-dvi

Programs that support DVI files

Mac OS logo

Mac OS

Linux logo

Linux

How to open a DVI file?

If you cannot open a DVI file, it is most often due to missing software. Select a program from the list according to your operating system. Then go to the official website of the program developer, download it, and install it on your device.

LaTeX, MiKTeX and LyX are recognized as the most popular software solutions for dealing with DVI files. To set up the newest version of LaTeX on your device, simply go to the official LaTeX website. There you can download the edition compatible with every operating system.

Once installed, LaTeX will be set as the default program, and DVI files will open automatically.

Set LaTeX to open DVI by default

Setting a default program by file type in Windows

  1. Right click on your DVI file, then select "Open with" and click "Choose another application";
  2. Find the LaTeX application in the pop-up window and select it as your preferred program;
  3. Select the "Always use this application" check box and click "OK" to save your selection as the default application for opening DVI files.

Change default apps on Mac

  1. Right-click or use Control + Left-click on the desired DVI file to access the file’s context menu;
  2. Select "Open in application" and click "Other";
  3. At the bottom of the window, find the "Enable" menu, where "Recommended Programs" is already selected by default;
  4. Within this menu, select "All Programs" and then locate LaTeX. Check the box next to "Always open in app" to set it as the default program.

How to edit a DVI file?

Editing DVI files requires installing professional software that lets you open and edit document files. Online editors have more limitations compared to dedicated Device Independent Format programs.

Best DVI editors in 2026

Considering the mentioned criteria, we have compiled a list of DVI editors that may suit your needs.

DVI Editor SoftwareDeveloperPlatformsOverall Rating
MiKTeXChristian SchenkWindows4.4 out of 5 (42 reviews)
LaTeXLaTeXWindows4.3 out of 5 (38 reviews)
LyXLyX developersMac OS, Windows, Linux4.2 out of 5 (46 reviews)
OkularOkular developersLinux4.2 out of 5 (44 reviews)

Easy DVI Troubleshooting

Certain problems with DVI files can be conveniently fixed with small software tweaks. Here are some helpful tips to address them.

What are the steps to repair a damaged DVI file?

Open the corrupted DVI file in a recovery program and select the "Repair" menu item. Please be patient while the recovery process completes, which will automatically restore the damaged document files.

How do I know if my DVI file is corrupted?

Corrupted DVI document files may show the following signs:

  • Attempts to open the file result in errors or failed results;
  • Editing the archive in LaTeX is accompanied by slow performance or delays;
  • The file causes LaTeX or other programs to hang or crash during operation;
  • Unexplained increase in DVI file size;
  • Error messages appear while working with the file;

What are the reasons behind LaTeX crash?

The likely cause of LaTeX crashing is lack of software updates. Install the latest updates available for LaTeX products.

Restarting your computer is often an effective solution to resolve various common problems. Therefore, it is recommended to do so before making any changes to the software configuration.