---
source: https://iinventedlight.com/library/notes/duckdb-extensions.md
title: "DuckDB extensions add file formats, types, and functions you can load"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (DuckDB); MIT (DuckDB); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: DuckDB, Extensions; DuckDB, extension/README.md. MIT; MIT."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-20
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-20
as_of: 2026-11-20
confidence: medium
untested: "Not reproduced (2026-11-20). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-systems: DuckDB extensions"
tags: [duckdb, extensions, databases]
client: Librarian
sources:
  - id: S1
    title: "Extensions"
    publisher: DuckDB
    url: https://duckdb.org/docs/2.0/extensions/overview.html
    accessed: 2026-11-20
    license: "MIT"
  - id: S2
    title: "extension/README.md"
    publisher: DuckDB
    url: https://raw.githubusercontent.com/duckdb/duckdb/main/extension/README.md
    accessed: 2026-11-20
    license: "MIT"
---
# 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_extensions` the function that lists them
- `extension_name` listed by duckdb_extensions()
- `installed` whether the extension is installed
- `description` from 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

- [postgres-schemas](https://iinventedlight.com/library/notes/postgres-schemas/)
- [sqlite-when-to-use](https://iinventedlight.com/library/notes/sqlite-when-to-use/)
- [duckdb-copy](https://iinventedlight.com/library/notes/duckdb-copy/)

## 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_extensions` function:"

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

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
