[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"extension:v3:en:duckdb":3},{"resolvedFromAlias":4,"canonicalExt":5,"ext":5,"name":6,"category":7,"categoryName":8,"updatedAt":9,"popularity":10,"summary":11,"howToOs":12,"quickAnswer":18,"answerIntro":19,"whatIs":20,"description":21,"furtherReading":22,"openInstructions":41,"commonIssues":55,"securityNotes":74,"faq":77,"aliases":90,"mimeTypes":93,"relatedExtensions":94,"breadcrumbs":141,"categoryAnchor":151,"categoryFuturePath":152,"metaDescription":153,"availableHowToOs":154,"openOnDeviceLinks":155,"cannotOpenReasons":171,"cannotOpenFixes":172,"convertOptions":173,"securityAffiliateMessaging":174,"securityAffiliates":175},false,"duckdb","DuckDB database file","data","Data","2026-06-12T08:38:09.837Z",28,".duckdb is DuckDB’s on-disk, single-file database format used to store tables and other database objects in one file.",[13,14,15,16,17],"windows","mac","linux","ios","android","To open .DUCKDB files on Windows, option A (QStudio): Install QStudio and double-click the .duckdb file to open it in QStudio.","To open a .duckdb file, use DuckDB (the database engine) or a SQL tool that can connect to DuckDB, such as DBeaver (via DuckDB JDBC) or QStudio. These tools open the file by pointing the connection to the database file path.","A .duckdb file is a DuckDB database stored on disk as a single file. DuckDB’s documentation describes an internal on-disk storage format with storage versions, meaning compatibility can depend on the DuckDB version that wrote the file.","Because DuckDB has an explicit storage format and storage versions, opening an older/newer database file with an incompatible DuckDB version can lead to errors. When moving .duckdb files between machines, it’s common to also align DuckDB versions or follow DuckDB’s compatibility guidance.",[23,26,29,32,35,38],{"title":24,"url":25},"Files Created by DuckDB (common extensions including .duckdb)","https://duckdb.org/docs/current/operations_manual/footprint_of_duckdb/files_created_by_duckdb",{"title":27,"url":28},"Storage Versions and Format (on-disk format and compatibility considerations)","https://duckdb.org/docs/current/internals/storage",{"title":30,"url":31},"DBeaver SQL IDE – DuckDB (opening by selecting the database file path)","https://duckdb.org/docs/current/guides/sql_editors/dbeaver.html",{"title":33,"url":34},"DuckDB SQL IDE – QStudio Help (double-click to open .duckdb/.db files)","https://www.timestored.com/qstudio/help/duckdb-sql-editor",{"title":36,"url":37},"DuckDB (Wikipedia overview; single-file storage format)","https://en.wikipedia.org/wiki/DuckDB",{"title":39,"url":40},"Media Types (MIME types) – IANA (to verify registered MIME types)","https://www.iana.org/assignments/media-types/media-types.xhtml",{"windows":42,"macos":45,"linux":48,"ios":51,"android":53},[43,44],"Option A (QStudio): Install QStudio and double-click the .duckdb file to open it in QStudio.","Option B (DBeaver): In DBeaver, create a DuckDB connection (using DuckDB JDBC) and set the database path to your .duckdb file, then connect.",[46,47],"Option A (QStudio): Install QStudio and open the .duckdb file (QStudio supports opening by double-clicking a .duckdb or .db file).","Option B (DBeaver): In DBeaver, add a DuckDB connection (DuckDB JDBC) and choose your .duckdb file as the database path, then connect.",[49,50],"Option A (DBeaver): Create a DuckDB connection in DBeaver (DuckDB JDBC) and select the .duckdb file as the database path, then connect.","Option B (QStudio): Open the .duckdb file in QStudio (it supports DuckDB databases and can open .duckdb/.db files).",[52],"There is no common iOS-native workflow cited in the sources for opening .duckdb files; transfer the file to a desktop system and open it with DuckDB tooling such as DBeaver or QStudio.",[54],"There is no common Android-native workflow cited in the sources for opening .duckdb files; transfer the file to a desktop system and open it with DuckDB tooling such as DBeaver or QStudio.",[56,62,68],{"title":57,"description":58,"steps":59},"Version/format compatibility error when opening the database","DuckDB’s on-disk format uses storage versions, so a .duckdb file created by one DuckDB version may not open cleanly with a different version in some cases.",[60,61],"Check which DuckDB version your tool is using (for example, the DuckDB JDBC driver version in DBeaver) and try with a DuckDB version that matches the file’s origin.","If you control the environment that created the file, open it there and follow DuckDB’s storage/compatibility guidance before moving it to another version.",{"title":63,"description":64,"steps":65},"File association problem (double-click doesn’t open in the right app)","Some systems may not have a default app associated with .duckdb, or it may be associated with an unrelated program.",[66,67],"Open QStudio first and use its open dialog to select the .duckdb file (QStudio also supports opening by double-click when associated).","Alternatively, open the file from within DBeaver by creating a DuckDB connection and selecting the .duckdb file path.",{"title":69,"description":70,"steps":71},"Expected a .duckdb file but got a different extension","DuckDB commonly uses other extensions such as .db and .ddb for the same concept: the single database file on disk.",[72,73],"If you received a .db or .ddb file that is a DuckDB database, try opening it the same way (selecting it as the DuckDB database path in your tool).","If you have a file named .duckdb but tools don’t recognize it as DuckDB, verify the file truly comes from DuckDB and wasn’t renamed from another database type.",[75,76],".duckdb files are parsed by DuckDB and related connectors (for example, JDBC drivers in SQL tools). Treat unknown .duckdb files as untrusted input and prefer opening them in a controlled environment, because malformed database files can trigger parser/engine bugs.","A .duckdb file can contain sensitive data (tables and other database contents) in a single portable file. Handle it like a database backup: store it securely and avoid sharing it broadly without reviewing its contents.",[78,81,84,87],{"question":79,"answer":80},"Is .duckdb a single file database or a folder of files?","DuckDB creates a single on-disk database file, and .duckdb is one of the common extensions used for that file.",{"question":82,"answer":83},"Can DBeaver open a .duckdb file?","Yes. DBeaver can connect to DuckDB via DuckDB JDBC, and you open a .duckdb database by selecting the database file path in the connection settings.",{"question":85,"answer":86},"Why won’t my .duckdb file open on another computer?","DuckDB has storage versions for its on-disk format, so compatibility can depend on the DuckDB version used to create the database file. Aligning versions or following DuckDB’s storage compatibility guidance typically resolves this.",{"question":88,"answer":89},"Are .duckdb and .db the same thing?","DuckDB documentation notes that common extensions for DuckDB’s database file include .duckdb, .db, and .ddb. The extension alone doesn’t guarantee it’s a DuckDB database, but these are commonly used for DuckDB.",[91,92],"db","ddb",[],[95,101,106,111,117,123,129,135],{"ext":96,"name":97,"category":7,"categoryName":8,"popularity":98,"summary":99,"howToOs":100},"json","JSON data",88,".json files store structured data as plain text using the JSON (JavaScript Object Notation) format. They’re commonly used for web APIs, app configuration, and data exchange, and can be opened with any text editor or JSON-aware tools.",[13,14,15,16,17],{"ext":91,"name":102,"category":7,"categoryName":8,"popularity":103,"summary":104,"howToOs":105},"SQLite 3 Database",85,".db is commonly used for SQLite 3 database files—single-file relational databases used by many apps. You can open them with SQLite tools and many database browsers.",[13,14,15,16,17],{"ext":107,"name":108,"category":7,"categoryName":8,"popularity":103,"summary":109,"howToOs":110},"yaml","YAML File",".yaml is a YAML document: a human-readable data serialization format commonly used for configuration files and data exchange. You can open it with a text editor, or with editor support such as the YAML extension for Visual Studio Code.",[13,14,15,16,17],{"ext":112,"name":113,"category":7,"categoryName":8,"popularity":114,"summary":115,"howToOs":116},"sqlite3","SQLite 3 database",78,".sqlite3 is a SQLite version 3 database stored as a single cross-platform file. You can open it with SQLite’s sqlite3 command-line shell or any SQLite-capable database browser/library.",[13,14,15,16,17],{"ext":118,"name":119,"category":7,"categoryName":8,"popularity":120,"summary":121,"howToOs":122},"sqlite","SQLite 3 Database File",75,".sqlite is a SQLite 3 database stored as a single file. You open it with SQLite tools (for example, the SQLite command-line shell) or any application that supports SQLite.",[13,14,15,16,17],{"ext":124,"name":125,"category":7,"categoryName":8,"popularity":126,"summary":127,"howToOs":128},"jsonl","JSON Lines (newline-delimited JSON)",72,".jsonl is a JSON Lines file: plain text where each line is a complete JSON value, commonly used for logs and large datasets that are processed record-by-record.",[13,14,15,16,17],{"ext":130,"name":131,"category":7,"categoryName":8,"popularity":132,"summary":133,"howToOs":134},"parquet","Apache Parquet columnar data file",70,".parquet is an open, column-oriented file format for efficient storage and retrieval of tabular data. It’s commonly opened with data tools such as pandas (Python) and other analytics/ETL software that supports Apache Parquet.",[13,14,15,16,17],{"ext":136,"name":137,"category":7,"categoryName":8,"popularity":138,"summary":139,"howToOs":140},"ndjson","Newline-Delimited JSON (NDJSON)",55,"NDJSON is a text format where each line is a complete JSON object, making it convenient for streaming and log-like datasets. You can open it with any text editor, and many data tools can process it line-by-line.",[13,14,15,16,17],[142,145,148],{"label":143,"to":144},"Home","/",{"label":146,"to":147},"File Extension Index","/file-extension",{"label":149,"to":150},".DUCKDB","/file-extension/duckdb","category-data","/category/data","Learn what .DUCKDB files are, how to open them on every platform, common fixes, and security best practices.",[13,14,15,16,17],[156,159,162,165,168],{"os":13,"label":157,"to":158},"Open .DUCKDB on Windows","/how-to/open-duckdb-on-windows",{"os":14,"label":160,"to":161},"Open .DUCKDB on Mac","/how-to/open-duckdb-on-mac",{"os":15,"label":163,"to":164},"Open .DUCKDB on Linux","/how-to/open-duckdb-on-linux",{"os":16,"label":166,"to":167},"Open .DUCKDB on iOS","/how-to/open-duckdb-on-ios",{"os":17,"label":169,"to":170},"Open .DUCKDB on Android","/how-to/open-duckdb-on-android",[57,63,69],[60,61],[],"untrusted_source",[176,180],{"name":177,"description":178,"affiliateUrl":179},"Avast","Avast offers free and premium antivirus software that protects against viruses, malware, ransomware, and phishing. Scan files before opening them to ensure safety.","https://www.avast.com/lp-aff-consumer-store?expid=inf601",{"name":181,"description":182,"affiliateUrl":183},"Norton","Norton 360 delivers comprehensive antivirus protection, VPN, and identity theft monitoring. Scan files for threats before opening to keep your device secure.","http://buy.norton.com/aff_home?utm_campaign=en-ww_nor_n36_aff_nas_nau_nah_cj_nad_low:_sec_nat_mktc_norton_360"]