HomeJSON ConvertersJSON to DynamoDB

JSON to DynamoDB

Convert JSON to DynamoDB JSON format.

Convert JSON to DynamoDB JSON format.

This tool is designed to provide a seamless experience for developers by handling complex operations directly in your browser with maximum speed and security.

100% Private
Instant Results
Customizable
Offline Ready
Dev-Friendly
Easy Export

JSON to DynamoDB is a utility that converts standard JSON into the specific "DynamoDB JSON" format required by the AWS SDK and CLI. It handles the explicit type descriptors (like {"S": "value"} for strings or {"N": "123"} for numbers) that DynamoDB uses.

Paste your standard JSON object. The tool will generate the DynamoDB-compatible JSON with all the necessary type markers.

DynamoDB's native JSON format is verbose and difficult to write by hand. This tool allows you to take clean, standard JSON and instantly convert it into the format DynamoDB expects, making it much easier to work with the AWS CLI or SDKs.

Example Input

{
  "id": 1,
  "name": "John Doe",
  "email": "john@example.com",
  "isActive": true,
  "tags": ["admin", "dev"],
  "profile": {
    "bio": "Software Engineer",
    "skills": ["Go", "React", "TypeScript"]
  }
}

Example Output

{
  "id": { "N": "1" },
  "name": { "S": "John Doe" },
  "email": { "S": "john@example.com" },
  "isActive": { "BOOL": true },
  "tags": { "L": [{ "S": "admin" }, { "S": "dev" }] }
}

Unsupported types

Fix: Ensure your JSON data only contains types supported by DynamoDB (Strings, Numbers, Binary, Booleans, Nulls, Sets, Lists, and Maps).

Size limits

Fix: DynamoDB has a 400KB item size limit; ensure your JSON object stays within this bound.

Does it handle nested maps and lists?

Yes, it recursively applies DynamoDB type markers to all nested structures.

Can I use this for the AWS CLI?

Yes, the output is perfect for use with the `aws dynamodb put-item` command.