# Convert JSON data into PDF in Node RED

**URL:** https://discourse.nodered.org/t/convert-json-data-into-pdf-in-node-red/66850
**Category:** General
**Created:** [24 August 2022 11:55 UTC](https://discourse.nodered.org/t/convert-json-data-into-pdf-in-node-red/66850 "2022-08-24T11:55:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![MiliH](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@MiliH](https://discourse.nodered.org/u/MiliH)
#### Post date: [24 August 2022 11:55 UTC](https://discourse.nodered.org/t/convert-json-data-into-pdf-in-node-red/66850/1 "2022-08-24T11:55:50Z")

</div>

Hello,  
I want to convert data that is returned by table into PDF.

Data returned by table is in JSON format and I want that data to be displayed in PDF file.

Thanks in advance!

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [24 August 2022 12:03 UTC](https://discourse.nodered.org/t/convert-json-data-into-pdf-in-node-red/66850/2 "2022-08-24T12:03:54Z")

</div>

There are lots of tools and guides to help with this:

[https://www.google.com/search?q=apply+template+to+json+to+produce+pdf](https://www.google.com/search?q=apply+template+to+json+to+produce+pdf)

Some of the answers relate to node.js and would likely be suitable for use with node-red.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [24 August 2022 12:14 UTC](https://discourse.nodered.org/t/convert-json-data-into-pdf-in-node-red/66850/3 "2022-08-24T12:14:09Z")

</div>

Search the forum for [PDFmake](https://discourse.nodered.org/search?q=PDFmake)

There are several threads on this - e.g...

- [How to convert text files to PDF file - #2 by Steve-Mcl](https://discourse.nodered.org/t/how-to-convert-text-files-to-pdf-file/63654/2)
- [Create labels with QR code - #10 by Steve-Mcl](https://discourse.nodered.org/t/create-labels-with-qr-code/48122/10)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [23 October 2022 12:14 UTC](https://discourse.nodered.org/t/convert-json-data-into-pdf-in-node-red/66850/4 "2022-10-23T12:14:17Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
