Free plan

Styled Excel report

Turn a table into a good-looking Excel report
POST
/v1/data/styled-excel

About this tool

This tool takes a table, such as a CSV or JSON file, and builds an Excel workbook with the design done for you. You can add a title, coloured header, striped rows, borders and number formats. It fits column widths, freezes the header row, and can add totals, colour scales and highlights.
For example, you make a neat monthly sales report from a plain CSV file.

How to use it

  1. Choose this tool.
  2. Add your table with Upload or drag and drop.
  3. Enter a title and pick a look, such as the theme and header colour.
  4. Switch on extras like striped rows or totals, then press Generate.
  5. Download the Excel file.

What you get back

You get a finished Excel file (.xlsx) with your data styled. Download it.
GOOD TO KNOW
Everything is a real Excel feature (styles, formulas, conditional formats, an optional table), so the report stays editable. A column used for totals, colour scales or data bars must hold numbers. Counts as one conversion.
TEST IT LIVE

Try Styled Excel report in the Studio

One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Open in the Studio
Family
Data
Plan
Free
Method
POST
Endpoint
/v1/data/styled-excel
Tool ID
data.styled-excel
Authentication
API key
Accepts
Text and settings
Background jobs
Yes
Usage group
Data
For developers

Use it from your code

cURL

curl -X POST "https://app.h2i.davixlabs.io/v1/data/styled-excel" \
  -H "X-Api-Key: $DAVIX_H2I_API_KEY" \
  -F 'file=@document.pdf' \
  -F 'sheet_name=Q1 sales' \
  -F 'title=Sales report' \
  -F 'subtitle=January to March 2026'

Node.js

const { DavixH2I } = require('@davixlabs/h2i-sdk');

const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.data.styledExcel({
    "file": 'document.pdf',
    "sheet_name": "Q1 sales",
    "title": "Sales report",
    "subtitle": "January to March 2026"
  });
console.log(result.data, result.requestId);

PHP

<?php
require 'vendor/autoload.php';

$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->data()->styledExcel([
    'file' => 'document.pdf',
    'sheet_name' => 'Q1 sales',
    'title' => 'Sales report',
    'subtitle' => 'January to March 2026',
]);
echo $result->requestId;
FAQ

Frequently asked questions

Turn a table (CSV, JSON, Excel …) into a finished Excel report: a title, a coloured header, striped rows, borders, number and date formats, fitted column widths, a frozen header and filter, totals as real formulas, colour scales, data bars, highlight rules and print settings.

Styled Excel report works from text and settings, so no file is needed. Every input is optional.

Styled Excel report is included in every plan, including Free. Each run uses credits from your monthly allowance.

Send a POST request to /v1/data/styled-excel with your API key in the X-Api-Key header. Official SDKs for Node.js, Python, PHP, Go, Java, .NET and Ruby do the same for you, and the code box on this page shows ready-to-copy examples. For large work it can also run as a background job, so your request returns straight away.