JSON

Mock JSON Generator

템플릿을 기반으로 가짜 JSON 데이터 생성 — {{name}} 또는 {{email}} 같은 플레이스홀더 값, 배열은 "키|N"으로 반복.

플레이스홀더: {{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}} · 배열: "키|N": [템플릿] — N번 반복.

Instead of writing test data by hand, this tool generates realistic fake JSON from a template with placeholders like {{name}}, {{email}}, or {{uuid}}. An array with a given number of items is built with the "key|N" syntax.

How to use it

Common uses

Things to keep in mind

Each generation is random by design — save the generated JSON separately if you need to see the exact same result again, rather than relying on regenerating it.

The generated data is realistic in form (an email looks like an email) but has no connection whatsoever to real people or records.

이 도구에 대한 아티클: Mock JSON Generator: 가짜 데이터가 왜 유용한가

자주 묻는 질문

이 목(mock) JSON 생성 도구는 어디에 쓰이나요?

{{name}}, {{email}}, {{uuid}}, {{number(1,100)}} 같은 플레이스홀더가 포함된 템플릿으로 가짜 JSON 데이터를 생성합니다. 테스트 픽스처나 API 응답 예시를 만들 때 유용합니다.

동일한 형태의 요소를 여러 개 반복한 배열은 어떻게 만드나요?

"key|N": [템플릿] 문법을 사용하면 템플릿을 N번 반복한 배열을 생성할 수 있습니다.

생성된 데이터는 서버에서 만들어지나요?

아닙니다. 생성 처리는 모두 브라우저의 자바스크립트에서 이루어지며 데이터가 서버로 전송되지 않습니다.

목 데이터에 "까다로운" 경계값도 포함되나요?

생성기는 일반적인 값과 경계값을 의도적으로 섞습니다 — 긴 문자열, 빈 필드, 범위 경계에 걸친 숫자 등입니다. "test123" 같은 "편안한" 예시에서는 드러나지 않는 화면이나 로직 오류를 바로 이런 값들이 가장 잘 찾아냅니다.

같은 목 데이터 세트를 다시 재현할 수 있나요?

매번 새로운 변형을 보여주기 위해 생성 결과는 의도적으로 무작위입니다. 같은 결과를 다시 얻어야 한다면, 재생성하는 대신 생성된 JSON을 따로 저장해두세요.

아티클: JSON