# How to import JSON file in DB using studio?

**URL:** <https://community.stardog.com/t/how-to-import-json-file-in-db-using-studio/3146>\
**Category:** Stardog Studio\
**Created:** [July 15, 2021, 1:02pm UTC](https://community.stardog.com/t/how-to-import-json-file-in-db-using-studio/3146 "2021-07-15T13:02:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajakushwah](https://avatars.discourse-cdn.com/v4/letter/r/9e8a1a/32.png) [@rajakushwah](https://community.stardog.com/u/rajakushwah)\
**Post date:** [July 15, 2021, 1:02pm UTC](https://community.stardog.com/t/how-to-import-json-file-in-db-using-studio/3146/1 "2021-07-15T13:02:10Z")

</div>

Hi Team,

How can I import JSON files to DB from the studio?

Steps I followed-

1. Firstly I have created the DB
2. Selected the Load Data option and choose the JSON file.
3. 

![MicrosoftTeams-image](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/7/7bd5a5d3c340ce522b509c883d4a7f79018c865e.png)

I am unable to see JSON file format in the dropdown and it is showing errors with other file types please refer to the screenshot below.

![MicrosoftTeams-image (1)](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/6/6e6df2097df1d0f99d3cc8023b0ef29c9e5daf31.png)

---

<div class="post-metadata">

**Author:** ![oli666](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/oli666/32/1019_2.png) [@oli666](https://community.stardog.com/u/oli666)\
**Post date:** [July 22, 2021, 3:49pm UTC](https://community.stardog.com/t/how-to-import-json-file-in-db-using-studio/3146/2 "2021-07-22T15:49:29Z")

</div>

You probably want to refer to [Importing JSON and CSV Files | Stardog Documentation Latest](https://docs.stardog.com/virtual-graphs/importing-json-csv-files)  
json seems to be only imported via the CLI as far as I know ...

---

<div class="post-metadata">

**Author:** ![chalem](https://avatars.discourse-cdn.com/v4/letter/c/eada6e/32.png) [@chalem](https://community.stardog.com/u/chalem)\
**Post date:** [February 13, 2024, 6:29pm UTC](https://community.stardog.com/t/how-to-import-json-file-in-db-using-studio/3146/3 "2024-02-13T18:29:14Z")

</div>

Just leave the File Format field blank. I find when I do this it loads the JSON file.
