# Excel file to PDF

**URL:** <https://forum.inductiveautomation.com/t/excel-file-to-pdf/58851>\
**Category:** Ignition\
**Created:** [April 26, 2022, 6:33am UTC](https://forum.inductiveautomation.com/t/excel-file-to-pdf/58851 "2022-04-26T06:33:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vani161998](https://avatars.discourse-cdn.com/v4/letter/v/ee7513/32.png) [@vani161998](https://forum.inductiveautomation.com/u/vani161998)\
**Post date:** [April 26, 2022, 6:33am UTC](https://forum.inductiveautomation.com/t/excel-file-to-pdf/58851/1 "2022-04-26T06:33:50Z")

</div>

hi,  
i am having my excel file as bytes in database .I want to convert my excel file to pdf in ignition perspective .how can i do that?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 27, 2022, 3:47pm UTC](https://forum.inductiveautomation.com/t/excel-file-to-pdf/58851/2 "2022-04-27T15:47:39Z")

</div>

The short answer is you can’t, not without an additional intermediate step. Excel and PDF are not equivalent formats, and there’s no single way to map from one to the other.

The long answer is you write a script to load your Excel file (search this forum for “Apache POI”) and get your data into a dataset, and then author a report that renders the output into a useful PDF.
