.sub MicroDVD subtitles

Text & source code

MIME typetext/x-microdvd
text/x-mpsub
text/x-subviewer
DescriptionMicroDVD subtitles
CategoryText & source code
Signature (magic bytes)7B 30 7D ({0})
7B 31 7D ({1})
7D 7B (}{)
Based ontext/plain

Frequently asked questions

What is a .sub file?

The .sub extension is used for several formats: MicroDVD subtitles (text/x-microdvd), MPlayer subtitles (text/x-mpsub) and SubViewer subtitles (text/x-subviewer).

How do I open a .sub file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .sub file?

By the bytes at the start of the file, the signature (magic bytes): 7B 30 7D ({0}), 7B 31 7D ({1}) and 7D 7B (}{). On Linux and macOS, file --mime-type example.sub checks the real type regardless of the extension.

Which format is .sub based on?

Technically a .sub file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .sub?

The MIME type is text/x-microdvd. In the Apache web server: AddType text/x-microdvd .sub; in nginx: types { text/x-microdvd sub; }.

Nearby entries