JSON

Mock JSON Generator

Geração de dados JSON fictícios com base em um modelo: valores de espaço reservado como {{name}} ou {{email}}, e arrays são repetidos via "chave|N".

Placeholders: {{uuid}} {{name}} {{firstName}} {{lastName}} {{email}} {{phone}} {{number(1,100)}} {{float(0,1)}} {{boolean}} {{date(2020,2024)}} {{datetime}} {{word}} {{sentence}} {{paragraph}} {{city}} {{country}} {{company}} {{color}} {{index}} · array: "chave|N": [modelo] — repetir N vezes.

Perguntas frequentes

What is a mock data generator useful for?

Quickly building test fixtures or sample API responses without manually inventing values — handy for frontend development, tests, or demos when real data is not yet available.

How do I generate an array with multiple records?

Use the "key|N": [template] syntax — the template inside the array is repeated N times, and each repetition generates fresh random values for the placeholders.

Can placeholders take parameters?

Yes, placeholders like {{number(1,100)}} or {{date(2020,2024)}} accept a range in parentheses — generation happens entirely in your browser via JavaScript, with no server involved.