DynamoDB Supported Data Types - The Complete List

Written by Rafal Wilinski

DynamoDB currently supports following list of data types:

Number [N]

Can be positive, negative or zero. Keep in mind that trailing and leading zeros are removed. Numbers can be also used to represent the date using Epoch format. It's using less storage and might be easier to parse from your application.

String [S]

DynamoDB supports UTF-8 binary encoded strings which length is limited by the maximum item size which is 400 KB. If String is used as primary key, then the length of it is limited to 2048 bytes for single key and 1024 bytes for composite key.

Binary [B]

Just like with Strings, binary length is limited by the maximum item size which is 400 KB. Binaries must be encoded using base64 before being sent to DynamoDB. Binary types can also be used for keys and they have same length restriction rules as Strings.

Boolean [BOOL]

Must be true or false.


Represents unknown or undefined value.


An equivalent of JS Array which can store multiple items of different types.

Example Array:


Map is JSON like structure of unordered key-value pairs. Similarily to list, Map can contain mixed types elements.

Example Map:

StringSet [SS], BinarySet [BS] and NumberSet [NS]

DynamoDB supports multiple types of Sets where unlike Lists, all the elements within a set must be of the same type and all the elements must be also unique. Another difference between Set and List is that Set does not perserve the sequence of elements. BinarySet can only contain Binary elements, NumberSet can only contain Numbers and StringSet can only contain Strings.


Dynobase is a Professional GUI Client for DynamoDB

Start your 7-day free trial today

Product Features

© 2020 Dynobase

Still using AWS DynamoDB Console?
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.