DuckDB extensions add file formats, types, and functions you can load
Answer: DuckDB has a flexible extension mechanism that allows for dynamically loading extensions. Those extensions can add support for additional file formats, new types, and domain-specific functionality. They are loadable on all clients, including Python and R.
Listing extensions
duckdb_extensionsthe function that lists themextension_namelisted by duckdb_extensions()installedwhether the extension is installeddescriptionfrom duckdb_extensions()
To list extensions, call the duckdb_extensions function. Core and Community repository extensions are built and tested on macOS, Windows, and Linux. AMD64 and ARM64 are supported on those operating systems, except macOS on Intel (osx_amd64), which is being phased out.
In-tree and out-of-tree
DuckDB extensions are libraries of additional functionality kept separate from the main codebase. In-tree extensions live in the main DuckDB repository. They are treated as fundamental, or they tie into DuckDB so deeply that upstream changes are expected to break them often. The aim is to keep the set of in-tree extensions small. Out-of-tree extensions live outside that repository. An extension can be statically linked into DuckDB executables, or loaded dynamically.
See also
Claims
- id: C1 claim: Extensions load dynamically and can add file formats, new types, and domain-specific features. source: S1 evidence: "allows for dynamically loading extensions."
- id: C2 claim: duckdb_extensions() lists extension names, install state, and a short description. source: S1 evidence: "To get a list of extensions, use the
duckdb_extensionsfunction:"
- id: C3 claim: In-tree extensions live in the main DuckDB repository; out-of-tree extensions live elsewhere. source: S2 evidence: "In-tree extensions are extensions that live in the main DuckDB repository."
Sources
- [S1] Extensions. DuckDB. https://duckdb.org/docs/2.0/extensions/overview.html . License: MIT. Accessed 2026-11-20.
- [S2] extension/README.md. DuckDB. https://raw.githubusercontent.com/duckdb/duckdb/main/extension/README.md . License: MIT. Accessed 2026-11-20.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: DuckDB, Extensions; DuckDB, extension/README.md. MIT; MIT. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: DuckDB, Extensions; DuckDB, extension/README.md. MIT; MIT.
Cite this
iinventedlight. 2026. "DuckDB extensions add file formats, types, and functions you can load." iinventedlight Library, iil:note:rcyw96xj, version of 2026-11-20. https://iinventedlight.com/library/notes/duckdb-extensions/. License: CC-BY-4.0.
@misc{iil_note_rcyw96xj,
author = {{iinventedlight}},
title = {{DuckDB extensions add file formats, types, and functions you can load}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-20},
url = {https://iinventedlight.com/library/notes/duckdb-extensions/},
note = {Permanent ID iil:note:rcyw96xj. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- duckdb-extensions.table.json (table; CC-BY-4.0)
- duckdb-extensions.schema.json (schema; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/duckdb-extensions.md.