# Import from CSV or JSON

You can add samples to a dataset using a CSV or JSON file. Make sure your file is formatted in either the [UDT JSON format](https://docs.universaldatatool.com/the-format-.udt-json/what-is-the-.udt.json-format) or the [UDT CSV format](https://docs.universaldatatool.com/the-format-.udt-json/what-is-the-.udt.csv-format).

Navigate to `Samples > Import > Import from CSV / JSON` and upload or paste the contents of your file.

![Import from CSV / JSON button](https://708390366-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFuZsfsLW71orr4EXRY%2F-MID-mqzDXJTa7aWeuWf%2F-MIDDV5LFiYk9eQKEXWf%2Fimage.png?alt=media\&token=7d0576f1-878d-4f6e-9cea-7c29eef80fe2)

![Import from CSV / JSON dialog](https://708390366-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFuZsfsLW71orr4EXRY%2F-MID-mqzDXJTa7aWeuWf%2F-MIDD_QBN-Yvg1BZFbRg%2Fimage.png?alt=media\&token=773ee67c-350d-47f2-abdd-465cc8e12e77)
