§ · Free downloads

Free sample patient data: CSV, JSONL and FHIR R4

Synthetic patient records you can download now, with no account. Each file holds 1,000 made-up US adults: demographics, body measures, HbA1c, blood pressure, conditions and insurance. Nothing in them comes from a real person.

Need different rows, a seed of your own or more than 1,000? Generate up to 50,000 rows a day, free →

§ · Every sample file

23 files in 8 datasets. The CSV and JSONL files have one row per person. The FHIR R4 files are bulk NDJSON, one resource per line.

DatasetPeopleCSVJSONLFHIR R4
US adults, general population1,000CSV · 0.57 MBJSONL · 1.75 MBnot in the sample
Type 2 diabetes patients, natural mix of stages1,000CSV · 0.61 MBJSONL · 1.92 MBNDJSON · 15.5 MB · 27,755 resources
Prediabetes (stage 0)1,000CSV · 0.56 MBJSONL · 1.71 MBNDJSON · 13.7 MB · 23,881 resources
Type 2 diabetes, stage 11,000CSV · 0.61 MBJSONL · 1.92 MBNDJSON · 15.4 MB · 27,506 resources
Type 2 diabetes, stage 21,000CSV · 0.61 MBJSONL · 1.92 MBNDJSON · 15.8 MB · 28,186 resources
Type 2 diabetes, stage 31,000CSV · 0.61 MBJSONL · 1.92 MBNDJSON · 16.1 MB · 28,624 resources
Type 2 diabetes, stage 41,000CSV · 0.61 MBJSONL · 1.92 MBNDJSON · 16.4 MB · 29,065 resources
Type 2 diabetes, stage 51,000CSV · 0.61 MBJSONL · 1.93 MBNDJSON · 16.8 MB · 29,674 resources

The files are the same on every download: they are generated from a fixed seed when the site is built. The stage files hold the same 1,000 people at each stage of type 2 diabetes. What the stages mean → The files are under the MIT License.

§ · Load a file

The files are plain text at fixed addresses, so you can read them straight from the URL.

# Shell
curl -O https://simpleidgen.com/synthetic-data/person/sample.csv

# Python (pandas)
import pandas as pd
df = pd.read_csv("https://simpleidgen.com/synthetic-data/person/sample.csv")
print(df.shape)        # (1000, 77)

# R
df <- read.csv("https://simpleidgen.com/synthetic-data/person/sample.csv")

# FHIR R4, one resource per line
curl -s https://simpleidgen.com/synthetic-data/t2dm/sample.fhir.ndjson | head -n 1

A longer walk-through is in the Python tutorial →

§ · What's in each patient record

Every field follows a public US reference, and the fields are generated together, so a record's age, vitals and conditions fit each other.

Patient field groupExamples & calibration source
DemographicsAge, sex, race/ethnicity — ACS 2022 · US Census 2020
GeographyState and ZIP, with ZIP constrained to match state
Vitals & body measuresA1c, BMI, height, weight, waist — NHANES 2017–2020
Blood pressureSystolic / diastolic — NHANES 2017–2020
ConditionsDiabetes, hypertension, CKD — CDC NDSS 2022 + NHANES, by age & sex
Insurance typeCoverage category — KFF 2023

Some rules always hold: BMI equals weight / (height/100)², insulin appears only for diagnosed diabetics, and ZIP matches state. The full list of 69 attributes is on the Person Profile generator page, and the comparison with US figures is on the NHANES calibration page.

§ · License

The sample files on this page are released under the MIT License. You can use, copy, change and share them, in commercial work too, as long as the copyright notice and the license text stay with the copies.

The license covers the sample files only. The generator, this site and the API are covered by the terms. The same text is at /synthetic-data/LICENSE.txt.

MIT License

Copyright (c) 2026 Rexstart Labs Pvt Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

§ · Frequently asked

Q1
Is this real patient data?

No. Every record is synthetically generated from published reference distributions (NHANES, ACS, CDC NDSS, KFF). No real person's data ever enters the system, and no real patient's record is reproduced.

Q2
Can I use it for HIPAA-regulated or GDPR-bound work?

The data is synthetic by construction — there is no protected health information and no personal data, because nothing is learned from real records. That makes it well suited to environments where production patient data can't be used. Consult your compliance officer for your specific case.

Q3
How is it different from Synthea?

Synthea generates full longitudinal EHRs in FHIR/C-CDA and needs Java to run. These files are a flat table, one row per patient, ready to download. Use Synthea when you need clinical histories; use this when you need a simple calibrated patient table. The full comparison →

Q4
Do I need an account, and what does it cost?

The sample files on this page need no account and cost nothing. A free account generates your own datasets, up to 50,000 rows per UTC day; see pricing for the details.

Q5
Can I share or republish the files?

Yes. The sample files are under the MIT License: you can copy, change and republish them, in commercial work too, if you keep the copyright notice and the license text with them.