---
title: "View source for Converting Excel To Json - DreamFactory Wiki"
source: "http://wiki.dreamfactory.com/index.php?action=edit&title=Converting_Excel_To_Json"
canonical_url: "http://wiki.dreamfactory.com/index.php?action=edit&title=Converting_Excel_To_Json"
converted_at: "2026-04-19T13:25:30.898Z"
format: "markdown"
converted_by: "html-to-md-ai"
---
[]()
	
	
	
	# View source for Converting Excel To Json

	
		
		← [Converting Excel To Json](/Converting_Excel_To_Json)
		
		
		
		[Jump to navigation](#mw-head)
		[Jump to search](#searchInput)
		You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in the group: [Users](/index.php?title=DreamFactory_Wiki:Users&action=edit&redlink=1).

---

You can view and copy the source of this page.

{{#seo:
|title=Converting Excel To Json - DreamFactory Documentation
|title_mode=replace
|canonical=https://wiki.dreamfactory.com/Converting_Excel_To_Json
|og:title=Converting Excel To Json
|og:type=article
|og:site_name=DreamFactory Documentation
}}
&lt;span id="converting-excel-to-a-json-response">&lt;/span>
= Converting Excel to a JSON Response =

DreamFactory's Excel connector is capable of turning an entire Excel workbook or specific worksheet into a JSON response (CSV files are also supported). Workbooks can be retrieved from any DreamFactory supported file-system (AWS S3, SFTP, and Azure Blob Storage, among others), or as in the example we will run through below, uploaded directly to the server's local file system. Access is controlled just like any other connector with role-based access control and API keys.

&lt;span id="creating-an-excel-connector-service">&lt;/span>
== Creating an Excel Connector Service ==

To create an Excel connector, log in to your DreamFactory instance using an administrator account and select the '''API Generation &amp;amp; Connections''' tab. Set your API Type to '''File''', and then click the purple plus button to establish a new connection:

[[File:file-api-creation.png|thumb|file api creation]]
Navigate to the '''Excel''' option in the available service types:

[[File:excel-api-selection.png|thumb|excel api selection]]
Next, provide a name, label and description for your Excel connector service:

[[File:excel-service-info.png|thumb|excel service info]]
In the configuration section, you'll need to set the file storage service. If you have already setup an AWS S3 API or other file service, then that service will be available to you. For this example, we will use the local file storage service, and we will put our Excel file in &lt;code>/opt/dreamfactory/storage/app&lt;/code> which means we will set the container path as &lt;code>/&lt;/code> (the 'root' of where DreamFactory will look for locally stored files).

[[File:excel-service-configuration.png|thumb|excel service configuration]]
The root location for local file storage is &lt;code>/opt/dreamfactory/storage/app&lt;/code>. If you store an Excel file(s) here, your Storage Container Path will be &lt;code>/&lt;/code>. If you create a folder in here, e.g. &lt;code>/opt/dreamfactory/storage/app/my-folder&lt;/code> then your Storage Container Path will be &lt;code>/my-folder/&lt;/code>.
&lt;span id="using-the-excel-api">&lt;/span>
== Using the Excel API ==

Once configured, you will be able to access the API endpoint documentation via the API Docs tab. Here we have an example call to our workbook &lt;code>financial-sample.xlsx&lt;/code>:

[[File:excel-api-documentation.png|thumb|excel api documentation]]
After configuring your Role and generating an API Key, you can interact with the Excel service. The below is a &lt;code>GET&lt;/code> call to &lt;code>/api/v2/&amp;lt;excelServiceName&amp;gt;/_spreadsheet/&amp;lt;excelFilename&amp;gt;&lt;/code>:

[[File:excel-api-with-postman.png|thumb|excel api with postman]]
When creating a role for your Excel connector, you will also need to provide service access to the relevant file storage service, in addition to the Excel service. For local file storage this will be the default "files" service.

== See also ==
* [[Creating_Aws_S3_Rest_Api|Creating an AWS S3 REST API]]
* [[Creating_Sftp_Rest_Api|Creating an SFTP REST API]]
* [[File|File System APIs]]

[[Category:API]]
[[Category:Converting]]
[[Category:Excel]]

[[Category:API]]
Return to [Converting Excel To Json](/Converting_Excel_To_Json).

Retrieved from "[https://wiki.dreamfactory.com/Converting_Excel_To_Json](https://wiki.dreamfactory.com/Converting_Excel_To_Json)"