.db File — Database File
application/octet-stream
Drop any file to identify its extension and type — runs entirely in your browser
Drop a .db file here or click to choose
Or drop any file to identify its extension
application/octet-streamQuick Facts
| Extension | .db |
| Full Name | Database File |
| MIME Type | application/octet-stream |
| Category | Database |
| Type | Binary |
| Typical Size | 4 KB – 10 GB |
| First Appeared | 1970s |
What Is a .db File?
DB is a generic file extension used by numerous database applications and formats to store structured data. The most common association is with SQLite databases, which frequently use .db as an alternative to .sqlite. However, .db files can also be Berkeley DB databases, Windows Thumbs.db thumbnail caches, Android application databases, or proprietary database formats from various applications. The ambiguity of the .db extension means that the actual format must be determined by examining the file header — SQLite databases start with the string "SQLite format 3", Berkeley DB files have their own magic numbers, and other formats have distinct signatures. In mobile development, .db files are commonly SQLite databases used by Android and iOS applications for local data storage, storing user preferences, cached content, and application state. The generic nature of the .db extension reflects the diversity of embedded database solutions available across platforms. When working with .db files, tools like the file command on Unix or hex editors can identify the actual format, after which appropriate database tools can be used to inspect and modify the data.
How to Open .db Files
Related File Extensions
More Database File Extensions
Other database formats you might encounter
Browse File Extensions by Category
Explore our reference of 259 file extensions with details, programs, and related formats.