.IDX

IDX File

Index File (generic application/database index)
Ask a question
QUICK ANSWER

An IDX file is an auxiliary index a program creates to search its data quickly. It holds offsets or keys pointing into a separate data file, not content of its own. Open it with the application that created it - most indexes regenerate automatically if deleted, but check before removing one a live database or repository still needs.

Developer: N/A (generic 'index' companion file written by many programs) Category: Misc Files MIME: application/octet-stream
OPENS ON Windows macOS Linux
Related: .TORRENT · .MSO · .MD5 · .SHS

On this page

19k+ extensions indexed
Last reviewed Aug 6, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the IDX file format?

The .idx file extension is used by index files created by various applications and search tools. A single .idx file contains an index of records, files, or folders - for example, within a data catalogue or database. The exact internal layout is application-specific and may be binary or plain text.

.idx files can be generated by the search or indexing function of a given application. They can be quite large, and deleting such a file has no effect on the program's behaviour. In many cases, a deleted .idx file will be recreated automatically during the subsequent indexing process.

Index files are used by applications to speed up file search processes, in database queries, and as sorting algorithm subroutines. .idx files are usually found in databases - for instance, Visual FoxPro pairs .idx index files with a .DBF table - but many other programs also make use of them.

Because .idx is a generic extension, several distinct named formats share it:

  • VobSub subtitle index - plain-text, paired with a .SUB data file for DVD picture subtitles
  • Git pack index - binary, starts with bytes FF 74 4F 63; ends with SHA-1 checksums
  • FoxPro / Visual FoxPro index - binary B-tree of sorted keys accelerating .DBF queries
  • LaTeX raw index - plain-text list produced by the makeindex command

An .idx is almost always an auxiliary file: it makes its companion data file faster to search but holds no original content of its own. The application that created it is the right tool to open or repair it.

Security & safety

RISK: LOW

A .idx is passive lookup data, not executable, so the file itself is not a malware vector. The practical cautions are operational: deleting or editing a binary index a program still needs can corrupt search or require a rebuild, so let the owning application manage it. Most application indexes regenerate automatically, making them safe to delete when you're sure which program owns them - but verify before removing one inside a live database or repository.

Format details

in a nutshell
FULL NAMEIndex File (generic application/database index)aka Index file, Database index
DEVELOPERN/A (generic 'index' companion file written by many programs)since 1980s-1990s (the 'index' convention predates and spans dBASE, FoxPro, mail clients, LaTeX, etc.)
CATEGORYMisc Files
MIME TYPEapplication/octet-stream
TYPECompanion index/lookup file - speeds search and retrieval into a separate data file; layout is application-specific (binary or text)
This extension is also used by…
  • VobSub subtitle index (.idx + .sub) - A plain-text index of timecodes and byte offsets pointing into a companion .sub bitmap-subtitle file; loaded by VLC/MPC-HC alongside the .sub.
  • Git pack index (.idx) - Binary index (magic FF 74 4F 63) pairing with a .pack file in .git/objects/pack/ to locate objects quickly.
  • LaTeX raw index (.idx) - Plain-text list of \indexentry terms LaTeX emits; processed by makeindex into a sorted .ind for the printed index.

Programs that open IDX files

Windows4 apps
Visual FoxPro Paid For an xBase .idx, open the associated database/table in FoxPro; it uses or rebuilds the index. (FoxPro is discontinued/legacy.)
VLC media player Open-source If the .idx is a VobSub subtitle index, keep it beside the matching .sub and same-named video; VLC loads the pair as subtitles.
The application that created it Built-in Open the parent program (Visual FoxPro, your mail client, the CAD/GIS app) - it reads or rebuilds its own .idx automatically; you rarely open the .idx directly.
Notepad++ / a hex editor (HxD) Open-source Open the .idx to inspect the first bytes and decide if it's a text index (VobSub/LaTeX) or a binary app index. Don't edit a binary index by hand.
macOS1 app
The application that created it Built-in Open the originating program; it manages its own .idx. Use a hex/text editor (Hex Fiend) only to identify the type.
Linux1 app
The application that created it Built-in Let the parent app (database engine, Git, LaTeX/makeindex) read or rebuild its .idx; inspect with 'file'/a hex editor to identify it.

Technical details

deep spec
Format typeCompanion index/lookup file - sorted keys or offset pointers mapping record IDs or search terms to byte positions in a separate data file
EncodingBinary or plain text - determined entirely by the producing application; no universal encoding
Byte orderLittle-endian for most Windows binary variants (e.g. FoxPro); Git pack index is big-endian
Magic bytesNo universal file signature; Git pack .idx starts with FF 74 4F 63 (the string tOc preceded by 0xFF); all other .idx variants must be identified by context or origin folder
MIME typeapplication/octet-stream for binary variants; text/plain for plain-text variants such as VobSub and LaTeX
Internal structureSorted keys, B-tree nodes, or flat offset tables; Git pack v2 uses a fanout table + sorted SHA-1 list + offset array
CompressionNone - indexes are kept uncompressed so individual records can be located with fast random-access reads
EncryptionNone in typical use; some application indexes inherit access protection from the parent data store
Typical file sizeA few KB to hundreds of MB, scaling with the size of the indexed dataset
Companion fileAlways paired with a primary data file it indexes (e.g. .dbf, .dat, .pack, .sub); the .idx file is meaningless without it
Regeneration behaviourIf deleted, the application usually recreates the .idx automatically on the next launch or scheduled indexing run
Checksum / integrityApplication-dependent - Git pack .idx ends with two SHA-1 hashes; most other application indexes include no checksum
PlatformCross-platform convention used on Windows, macOS, and Linux; no OS-specific dependency
Known named variantsVobSub subtitle index (.idx + .sub), Git pack index (v1 and v2), FoxPro/Visual FoxPro index, LaTeX raw index
Content ownershipAuxiliary only - holds no original content; all original data resides in the companion data file
Indexing models usedB-tree (FoxPro), flat offset table (many mail stores and search caches), fanout + SHA-1 sorted list (Git pack v2)
Released1980s-1990s (the 'index' convention predates and spans dBASE, FoxPro, mail clients, LaTeX, etc.)
Latest versionN/A (no single specification - defined per application)

IDX conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with IDX files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about IDX files.

Frequently asked questions

What is an IDX file?
It's an index - a companion file a program builds to search its data faster. It points into a separate data file rather than holding content itself. Many unrelated programs use .idx, so the format depends on which app created it.
How do I open an IDX file?
Open it with the application that created it (a database, mail client, subtitle setup, etc.) - it reads or rebuilds the index automatically. To identify an unknown .idx, peek at the first bytes in a text or hex editor.
Can I delete .idx files to save space?
Often yes - most application indexes regenerate automatically from the underlying data. But don't delete one a live database, mail store or repository still relies on without checking, or you may force a rebuild or break search.
My subtitles are a .idx and a .sub - how do I use them?
That's a VobSub pair: keep the .idx and .sub together with the same name as the video, and players like VLC load them. To get editable text, OCR them to .srt with Subtitle Edit.
What are the .idx files in my Git repository?
Those are Git pack indexes - a binary .idx beside each .pack file in .git/objects/pack/, letting Git find objects quickly. Git manages them; don't edit them by hand.
How do I know what kind of .idx I have?
Note where it came from (which app or folder), then open the first bytes in a text/hex editor: readable timecodes or \indexentry lines mean a text index (VobSub/LaTeX); binary bytes mean a database, mail, or pack index owned by its app.

References

1Wikipedia - Database indexen.wikipedia.org
2Library of Congress - Subtitle Index (VobSub IDX)www.loc.gov

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BCBitComet Incomplete Download File
3.CRDOWNLOADChrome Partial Download File
4.MDMarkdown Document
5.PARTPartial Download File
6.BINCD/DVD Disc Image (BIN/CUE)
7.EXEWindows Executable (Portable Executable)
8.RPMSGRestricted Permission Message
9.AVIFAV1 Image File Format (AVIF)
10.NOMEDIAAndroid No-Media Marker File

Related extensions

.TORRENTBitTorrent Metainfo File
.MSOMicrosoft Office HTML/OLE Data Stream (oledata.mso)
.MD5MD5 Checksum File
.SHSShell Scrap Object File
.DDDAdobe Acrobat Distiller file
.DWLDrawing Lock File (CAD)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z