dynobase-icon
Dynobase

Question: Can DynamoDB store documents?

Rafal Wilinski

Answered by Rafal Wilinski

Last updated: October 23rd, 2026

Answer

Yes. DynamoDB stores JSON-like documents using native Map and List attributes; you do not need to flatten them or serialize them into strings. Each document is an item with the table's required primary-key attributes.

For example, an order can contain a shipping-address map, a list of line-item maps, a Boolean payment flag and a null delivery date. Other items in the table can have different attributes. With a document client, ordinary objects and arrays are converted to the appropriate DynamoDB types.

The complete item must fit within 400 KB, including attribute names and nested values. Documents can be nested up to 32 levels. For a large PDF, office document or other file, store the file in S3 and keep its object key and searchable metadata in DynamoDB.

You can read or update nested paths such as shipping.city without replacing the whole document. However, a nested field cannot directly be a secondary-index key: copy values needed for indexed lookups into top-level scalar attributes. Filters on nested values are evaluated after reading data.

See DynamoDB data types and the JSON converter for the difference between plain JSON and DynamoDB's typed wire format.

Source: AWS document types.

Dynobase is a Professional GUI Client for DynamoDB

Start your 7-day free trial today

Product Features

Download
/
Pricing
/
Member Portal
/
Privacy
/
EULA
/
Twitter
© 2026 Dynobase
+
Still using AWS DynamoDB Console?
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.