Skip to Content
DocumentationEditorImport & Export

Import & Export

Forge Json supports importing and exporting data in multiple formats.

Import

Access import options from the Open dropdown in the toolbar.

From disk

Open a .json file from your local filesystem. The file picker accepts .json files and reads them as UTF-8 text.

From URL

Enter a URL to fetch JSON from a remote endpoint. The editor makes a GET request and loads the response.

The URL must return valid JSON with an appropriate Content-Type header. CORS restrictions apply — the remote server must allow cross-origin requests.

Import CSV

Import a CSV file and convert it to a JSON array of objects. The first row is treated as column headers.

name,age,city Alice,25,NYC Bob,30,SF

Becomes:

[ { "name": "Alice", "age": 25, "city": "NYC" }, { "name": "Bob", "age": 30, "city": "SF" } ]

Numbers and booleans are auto-detected and converted from strings.

Export

Access export options from the Save dropdown in the toolbar.

To disk

Download the current JSON as a .json file. The file is formatted with your current indentation settings.

Share URL

Generate a share link that others can use to view or co-edit the document. See Sharing & Collaboration for details.

Export CSV

Export the current JSON to CSV format. This works best when the root is an array of objects — each object becomes a row, and keys become column headers.

CSV export flattens nested objects. Nested values are serialized as JSON strings in the CSV cell.

Copy as cURL

Generate a cURL command that reproduces the current document’s API endpoint. This is available when the document is saved to the cloud and has an API URL.

Copy formats

The Copy As dropdown in the toolbar lets you copy the current JSON in different formats:

FormatDescription
JSONFormatted JSON string (default)
MinifiedCompact JSON with no whitespace
Keys onlyJust the key names
SchemaJSON Schema inferred from the data
Last updated on