.toc CD Table Of Contents

Text & source code

MIME typeapplication/x-cdrdao-toc
DescriptionCD Table Of Contents
CategoryText & source code
Signature (magic bytes)43 41 54 41 4C 4F 47 20 22 (CATALOG ")
43 44 5F 44 41 0A (CD_DA.)
43 44 5F 52 4F 4D 0A (CD_ROM.)
Based ontext/plain

Frequently asked questions

What is a .toc file?

A .toc file is a “CD Table Of Contents” (MIME type application/x-cdrdao-toc).

How do I open a .toc 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 .toc file?

By the bytes at the start of the file, the signature (magic bytes): 43 41 54 41 4C 4F 47 20 22 (CATALOG "), 43 44 5F 44 41 0A (CD_DA.) and 43 44 5F 52 4F 4D 0A (CD_ROM.). On Linux and macOS, file --mime-type example.toc checks the real type regardless of the extension.

Which format is .toc based on?

Technically a .toc 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 .toc?

The MIME type is application/x-cdrdao-toc. In the Apache web server: AddType application/x-cdrdao-toc .toc; in nginx: types { application/x-cdrdao-toc toc; }.

Nearby entries