At One Place

.db files

.db file
Generic Database File
An extension many programs use for their data — it does not identify one format.

What opens a .db file

Windows
DB Browser for SQLite, DBeaver, the application that created it
macOS
DB Browser for SQLite, DBeaver, the application that created it
Linux
DB Browser for SQLite, DBeaver, file (to identify it)

What a .db file is

A .db file could be SQLite, Berkeley DB, a Windows thumbnail cache or an application's private store; the extension tells you nothing. Most of the time it is SQLite, and DB Browser for SQLite will open it — if it refuses, the file is something else. Never edit an application's .db while the program is running, because half-written changes corrupt it.

Converting it

A .db file is commonly converted to .sql, .csv or .sqlite. It is a binary format, so a text editor will show unreadable characters rather than its contents.

Details

Extension
.db
Full name
Generic Database File
Category
Data
Created by
Various
Format
Binary

Common questions

How do I open a .db file?
On Windows use DB Browser for SQLite; on macOS use DB Browser for SQLite; on Linux use DB Browser for SQLite. An extension many programs use for their data — it does not identify one format.
What is a .db file?
Generic Database File. A .db file could be SQLite, Berkeley DB, a Windows thumbnail cache or an application's private store; the extension tells you nothing. Most of the time it is SQLite, and DB Browser for SQLite will open it — if it refuses, the file is something else.
Can I convert a .db file?
Yes. It is usually converted to .sql, .csv or .sqlite, either by exporting from one of the programs listed above or with a format converter.

Related pages

Sources

  1. Media Types Registry — IANA
  2. Official vendor product documentation — At One Place

How these figures are compiled and checked