# Json To Excel (`zuzka/json-to-excel`) Actor

Convert your json into a tabular form, such as CSV, Excel or HTML table fast and easy.

- **URL**: https://apify.com/zuzka/json-to-excel.md
- **Developed by:** [Zuzka Pelechová](https://apify.com/zuzka) (community)
- **Categories:** Developer tools, Open source
- **Features:** Full permissions
- **Stats:** 56 total users, 1 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### How to use

Copy your JSON into the input field and start the Actor. Thats all!

# Actor input Schema

## `JSON` (type: `string`):

Paste your JSON here.

## Actor input object example

```json
{
  "JSON": "[\n    {\n    \"title\": \"Apify: Full-stack web scraping and data extraction platform\",\n    \"url\": \"https://apify.com/\",\n    \"displayedUrl\": \"https://apify.com\",\n    \"description\": \"Crawls arbitrary websites using the Chrome browser and extracts data from pages using a provided JavaScript code. The actor supports both recursive crawling and ...\",\n    \"emphasizedKeywords\": [],\n    \"productInfo\": {},\n    \"type\": \"organic\",\n    \"position\": 1\n    },\n    {\n    \"title\": \"Apify (@apify) · X\",\n    \"url\": \"https://twitter.com/apify?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor\",\n    \"displayedUrl\": \"https://twitter.com/apify\",\n    \"description\": \"\",\n    \"emphasizedKeywords\": [],\n    \"siteLinks\": [],\n    \"productInfo\": {},\n    \"type\": \"organic\",\n    \"position\": 2\n    },\n    {\n    \"title\": \"Apify\",\n    \"url\": \"https://github.com/apify\",\n    \"displayedUrl\": \"https://github.com › apify\",\n    \"description\": \"Generic REST API for scraping websites. Drop-in replacement for ScrapingBee, ScrapingAnt, and ScraperAPI services. And it is open-source!\",\n    \"emphasizedKeywords\": [],\n    \"siteLinks\": [],\n    \"productInfo\": {},\n    \"type\": \"organic\",\n    \"position\": 3\n    },\n    {\n    \"title\": \"Apify Pricing, Alternatives & More 2024\",\n    \"url\": \"https://www.capterra.com/p/150854/Apify/\",\n    \"displayedUrl\": \"https://www.capterra.com › Data Extraction Software\",\n    \"description\": \"Apify is used by large enterprises, SMEs, and independent developers. The Apify platform lets you turn any website into an API and reliably extract data at any ...\",\n    \"emphasizedKeywords\": [\n    \"Apify\"\n    ],\n    \"siteLinks\": [],\n    \"productInfo\": {\n    \"rating\": 4.8,\n    \"numberOfReviews\": 150\n    },\n    \"type\": \"organic\",\n    \"position\": 4\n    },\n    {\n    \"title\": \"Apify\",\n    \"url\": \"https://cz.linkedin.com/company/apifytech\",\n    \"displayedUrl\": \"6.6K+ followers\",\n    \"description\": \"Apify is a full-stack web scraping and browser automation platform that lets you extract data from websites and automate workflows on the web.\",\n    \"emphasizedKeywords\": [\n    \"Apify\"\n    ],\n    \"siteLinks\": [],\n    \"productInfo\": {},\n    \"type\": \"organic\",\n    \"position\": 5\n    },\n    {\n    \"title\": \"Apify Reviews 2024: Details, Pricing, & Features\",\n    \"url\": \"https://www.g2.com/products/apify/reviews\",\n    \"displayedUrl\": \"https://www.g2.com › ... › Apify › Apify Reviews\",\n    \"description\": \"One of the best features of Apify is their own free scrapers. They provide a variety of ready-made solutions for common web scraping tasks, such as extracting ...\",\n    \"emphasizedKeywords\": [\n    \"Apify\"\n    ],\n    \"siteLinks\": [],\n    \"productInfo\": {\n    \"rating\": 4.8,\n    \"numberOfReviews\": 112\n    },\n    \"type\": \"organic\",\n    \"position\": 6\n    },\n    {\n    \"title\": \"Apify Tutorial For Beginners | How To Use Apify\",\n    \"url\": \"https://www.youtube.com/watch?v=3rrpfW0bEdc\",\n    \"displayedUrl\": \"4.9K+ views  ·  9 months ago\",\n    \"description\": \"Apify review: https://speakaboutdigital.com/apify-review/ Apify Tutorial For Beginners | How To Use Apify This is my video tutorial on Apify ...\",\n    \"emphasizedKeywords\": [\n    \"Apify\"\n    ],\n    \"siteLinks\": [],\n    \"productInfo\": {},\n    \"type\": \"organic\",\n    \"position\": 7\n    }]"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "JSON": `[
    {
    "title": "Apify: Full-stack web scraping and data extraction platform",
    "url": "https://apify.com/",
    "displayedUrl": "https://apify.com",
    "description": "Crawls arbitrary websites using the Chrome browser and extracts data from pages using a provided JavaScript code. The actor supports both recursive crawling and ...",
    "emphasizedKeywords": [],
    "productInfo": {},
    "type": "organic",
    "position": 1
    },
    {
    "title": "Apify (@apify) · X",
    "url": "https://twitter.com/apify?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor",
    "displayedUrl": "https://twitter.com/apify",
    "description": "",
    "emphasizedKeywords": [],
    "siteLinks": [],
    "productInfo": {},
    "type": "organic",
    "position": 2
    },
    {
    "title": "Apify",
    "url": "https://github.com/apify",
    "displayedUrl": "https://github.com › apify",
    "description": "Generic REST API for scraping websites. Drop-in replacement for ScrapingBee, ScrapingAnt, and ScraperAPI services. And it is open-source!",
    "emphasizedKeywords": [],
    "siteLinks": [],
    "productInfo": {},
    "type": "organic",
    "position": 3
    },
    {
    "title": "Apify Pricing, Alternatives & More 2024",
    "url": "https://www.capterra.com/p/150854/Apify/",
    "displayedUrl": "https://www.capterra.com › Data Extraction Software",
    "description": "Apify is used by large enterprises, SMEs, and independent developers. The Apify platform lets you turn any website into an API and reliably extract data at any ...",
    "emphasizedKeywords": [
    "Apify"
    ],
    "siteLinks": [],
    "productInfo": {
    "rating": 4.8,
    "numberOfReviews": 150
    },
    "type": "organic",
    "position": 4
    },
    {
    "title": "Apify",
    "url": "https://cz.linkedin.com/company/apifytech",
    "displayedUrl": "6.6K+ followers",
    "description": "Apify is a full-stack web scraping and browser automation platform that lets you extract data from websites and automate workflows on the web.",
    "emphasizedKeywords": [
    "Apify"
    ],
    "siteLinks": [],
    "productInfo": {},
    "type": "organic",
    "position": 5
    },
    {
    "title": "Apify Reviews 2024: Details, Pricing, & Features",
    "url": "https://www.g2.com/products/apify/reviews",
    "displayedUrl": "https://www.g2.com › ... › Apify › Apify Reviews",
    "description": "One of the best features of Apify is their own free scrapers. They provide a variety of ready-made solutions for common web scraping tasks, such as extracting ...",
    "emphasizedKeywords": [
    "Apify"
    ],
    "siteLinks": [],
    "productInfo": {
    "rating": 4.8,
    "numberOfReviews": 112
    },
    "type": "organic",
    "position": 6
    },
    {
    "title": "Apify Tutorial For Beginners | How To Use Apify",
    "url": "https://www.youtube.com/watch?v=3rrpfW0bEdc",
    "displayedUrl": "4.9K+ views  ·  9 months ago",
    "description": "Apify review: https://speakaboutdigital.com/apify-review/ Apify Tutorial For Beginners | How To Use Apify This is my video tutorial on Apify ...",
    "emphasizedKeywords": [
    "Apify"
    ],
    "siteLinks": [],
    "productInfo": {},
    "type": "organic",
    "position": 7
    }]`
};

// Run the Actor and wait for it to finish
const run = await client.actor("zuzka/json-to-excel").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "JSON": """[
    {
    \"title\": \"Apify: Full-stack web scraping and data extraction platform\",
    \"url\": \"https://apify.com/\",
    \"displayedUrl\": \"https://apify.com\",
    \"description\": \"Crawls arbitrary websites using the Chrome browser and extracts data from pages using a provided JavaScript code. The actor supports both recursive crawling and ...\",
    \"emphasizedKeywords\": [],
    \"productInfo\": {},
    \"type\": \"organic\",
    \"position\": 1
    },
    {
    \"title\": \"Apify (@apify) · X\",
    \"url\": \"https://twitter.com/apify?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor\",
    \"displayedUrl\": \"https://twitter.com/apify\",
    \"description\": \"\",
    \"emphasizedKeywords\": [],
    \"siteLinks\": [],
    \"productInfo\": {},
    \"type\": \"organic\",
    \"position\": 2
    },
    {
    \"title\": \"Apify\",
    \"url\": \"https://github.com/apify\",
    \"displayedUrl\": \"https://github.com › apify\",
    \"description\": \"Generic REST API for scraping websites. Drop-in replacement for ScrapingBee, ScrapingAnt, and ScraperAPI services. And it is open-source!\",
    \"emphasizedKeywords\": [],
    \"siteLinks\": [],
    \"productInfo\": {},
    \"type\": \"organic\",
    \"position\": 3
    },
    {
    \"title\": \"Apify Pricing, Alternatives & More 2024\",
    \"url\": \"https://www.capterra.com/p/150854/Apify/\",
    \"displayedUrl\": \"https://www.capterra.com › Data Extraction Software\",
    \"description\": \"Apify is used by large enterprises, SMEs, and independent developers. The Apify platform lets you turn any website into an API and reliably extract data at any ...\",
    \"emphasizedKeywords\": [
    \"Apify\"
    ],
    \"siteLinks\": [],
    \"productInfo\": {
    \"rating\": 4.8,
    \"numberOfReviews\": 150
    },
    \"type\": \"organic\",
    \"position\": 4
    },
    {
    \"title\": \"Apify\",
    \"url\": \"https://cz.linkedin.com/company/apifytech\",
    \"displayedUrl\": \"6.6K+ followers\",
    \"description\": \"Apify is a full-stack web scraping and browser automation platform that lets you extract data from websites and automate workflows on the web.\",
    \"emphasizedKeywords\": [
    \"Apify\"
    ],
    \"siteLinks\": [],
    \"productInfo\": {},
    \"type\": \"organic\",
    \"position\": 5
    },
    {
    \"title\": \"Apify Reviews 2024: Details, Pricing, & Features\",
    \"url\": \"https://www.g2.com/products/apify/reviews\",
    \"displayedUrl\": \"https://www.g2.com › ... › Apify › Apify Reviews\",
    \"description\": \"One of the best features of Apify is their own free scrapers. They provide a variety of ready-made solutions for common web scraping tasks, such as extracting ...\",
    \"emphasizedKeywords\": [
    \"Apify\"
    ],
    \"siteLinks\": [],
    \"productInfo\": {
    \"rating\": 4.8,
    \"numberOfReviews\": 112
    },
    \"type\": \"organic\",
    \"position\": 6
    },
    {
    \"title\": \"Apify Tutorial For Beginners | How To Use Apify\",
    \"url\": \"https://www.youtube.com/watch?v=3rrpfW0bEdc\",
    \"displayedUrl\": \"4.9K+ views  ·  9 months ago\",
    \"description\": \"Apify review: https://speakaboutdigital.com/apify-review/ Apify Tutorial For Beginners | How To Use Apify This is my video tutorial on Apify ...\",
    \"emphasizedKeywords\": [
    \"Apify\"
    ],
    \"siteLinks\": [],
    \"productInfo\": {},
    \"type\": \"organic\",
    \"position\": 7
    }]""" }

# Run the Actor and wait for it to finish
run = client.actor("zuzka/json-to-excel").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "JSON": "[\\n    {\\n    \\"title\\": \\"Apify: Full-stack web scraping and data extraction platform\\",\\n    \\"url\\": \\"https://apify.com/\\",\\n    \\"displayedUrl\\": \\"https://apify.com\\",\\n    \\"description\\": \\"Crawls arbitrary websites using the Chrome browser and extracts data from pages using a provided JavaScript code. The actor supports both recursive crawling and ...\\",\\n    \\"emphasizedKeywords\\": [],\\n    \\"productInfo\\": {},\\n    \\"type\\": \\"organic\\",\\n    \\"position\\": 1\\n    },\\n    {\\n    \\"title\\": \\"Apify (@apify) · X\\",\\n    \\"url\\": \\"https://twitter.com/apify?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor\\",\\n    \\"displayedUrl\\": \\"https://twitter.com/apify\\",\\n    \\"description\\": \\"\\",\\n    \\"emphasizedKeywords\\": [],\\n    \\"siteLinks\\": [],\\n    \\"productInfo\\": {},\\n    \\"type\\": \\"organic\\",\\n    \\"position\\": 2\\n    },\\n    {\\n    \\"title\\": \\"Apify\\",\\n    \\"url\\": \\"https://github.com/apify\\",\\n    \\"displayedUrl\\": \\"https://github.com › apify\\",\\n    \\"description\\": \\"Generic REST API for scraping websites. Drop-in replacement for ScrapingBee, ScrapingAnt, and ScraperAPI services. And it is open-source!\\",\\n    \\"emphasizedKeywords\\": [],\\n    \\"siteLinks\\": [],\\n    \\"productInfo\\": {},\\n    \\"type\\": \\"organic\\",\\n    \\"position\\": 3\\n    },\\n    {\\n    \\"title\\": \\"Apify Pricing, Alternatives & More 2024\\",\\n    \\"url\\": \\"https://www.capterra.com/p/150854/Apify/\\",\\n    \\"displayedUrl\\": \\"https://www.capterra.com › Data Extraction Software\\",\\n    \\"description\\": \\"Apify is used by large enterprises, SMEs, and independent developers. The Apify platform lets you turn any website into an API and reliably extract data at any ...\\",\\n    \\"emphasizedKeywords\\": [\\n    \\"Apify\\"\\n    ],\\n    \\"siteLinks\\": [],\\n    \\"productInfo\\": {\\n    \\"rating\\": 4.8,\\n    \\"numberOfReviews\\": 150\\n    },\\n    \\"type\\": \\"organic\\",\\n    \\"position\\": 4\\n    },\\n    {\\n    \\"title\\": \\"Apify\\",\\n    \\"url\\": \\"https://cz.linkedin.com/company/apifytech\\",\\n    \\"displayedUrl\\": \\"6.6K+ followers\\",\\n    \\"description\\": \\"Apify is a full-stack web scraping and browser automation platform that lets you extract data from websites and automate workflows on the web.\\",\\n    \\"emphasizedKeywords\\": [\\n    \\"Apify\\"\\n    ],\\n    \\"siteLinks\\": [],\\n    \\"productInfo\\": {},\\n    \\"type\\": \\"organic\\",\\n    \\"position\\": 5\\n    },\\n    {\\n    \\"title\\": \\"Apify Reviews 2024: Details, Pricing, & Features\\",\\n    \\"url\\": \\"https://www.g2.com/products/apify/reviews\\",\\n    \\"displayedUrl\\": \\"https://www.g2.com › ... › Apify › Apify Reviews\\",\\n    \\"description\\": \\"One of the best features of Apify is their own free scrapers. They provide a variety of ready-made solutions for common web scraping tasks, such as extracting ...\\",\\n    \\"emphasizedKeywords\\": [\\n    \\"Apify\\"\\n    ],\\n    \\"siteLinks\\": [],\\n    \\"productInfo\\": {\\n    \\"rating\\": 4.8,\\n    \\"numberOfReviews\\": 112\\n    },\\n    \\"type\\": \\"organic\\",\\n    \\"position\\": 6\\n    },\\n    {\\n    \\"title\\": \\"Apify Tutorial For Beginners | How To Use Apify\\",\\n    \\"url\\": \\"https://www.youtube.com/watch?v=3rrpfW0bEdc\\",\\n    \\"displayedUrl\\": \\"4.9K+ views  ·  9 months ago\\",\\n    \\"description\\": \\"Apify review: https://speakaboutdigital.com/apify-review/ Apify Tutorial For Beginners | How To Use Apify This is my video tutorial on Apify ...\\",\\n    \\"emphasizedKeywords\\": [\\n    \\"Apify\\"\\n    ],\\n    \\"siteLinks\\": [],\\n    \\"productInfo\\": {},\\n    \\"type\\": \\"organic\\",\\n    \\"position\\": 7\\n    }]"
}' |
apify call zuzka/json-to-excel --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zuzka/json-to-excel"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/bqlAZPZrzNm0Qsbf4/builds/7DwcfHHtj48inKPum/openapi.json
