Skip to main content
Nastrotek

Online developer tool

JSON to C Array/Struct Converter

Paste JSON and get a matching C typedef struct plus an initialized variable, with JSON keys mapped to snake_case field names.

JSON input

Client-side only · nothing is uploaded

C code

Enter a JSON object to generate C code.

Nastrotek uses cookies for analytics and ad personalization to help us understand how the site is used. You can accept or decline non-essential cookies.