← All notes

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

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

Sources

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

Permanent ID: iil:note:rcyw96xj

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.},
}

Markdown

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.

All artifact files (JSON index)

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.