Skip to content

Convert CSV records to JSON

Use the header row as property names and produce an array of objects.

Install in Serialize

What it can do

  • Read comma-delimited cells
  • Use headers as keys
  • Create one object per row

How the recipe works

CSV to JSON

Split CRLF records and map each cell to its header.

Demonstration

Sample input

name,role
Ada,analyst
Lin,engineer

Expected result

"name": "Ada"

When to use it

  • Spreadsheet exports
  • API fixtures
  • Data-pipeline prototyping

Adapt it

Change cell and row delimiters for TSV or LF-only files.

Source and verification

Adapted from kraven-security CyberChef recipes. The explanation and sample are written for Serialize, use synthetic or documentation-safe data, and are checked against the current operation catalogue. The workflow runs locally without an external API call.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close