# HTML-Table

**URL:** <https://community.n8n.io/t/html-table/13872>\
**Category:** Nodes\
**Tags:** core, node\
**Created:** [May 10, 2022, 9:56pm UTC](https://community.n8n.io/t/html-table/13872 "2022-05-10T21:56:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jolo](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jolo/32/2379_2.png) [@jolo](https://community.n8n.io/u/jolo)\
**Post date:** [May 10, 2022, 9:56pm UTC](https://community.n8n.io/t/html-table/13872/1 "2022-05-10T21:56:40Z")

</div>

## It would help if there was a node for:

Building an HTML-Table of the result.

## My use case:

I would like to put the result as an HTML-Table so that I can use in my E-Mail/Gmail- Nodes as HTML-text input.

## Any resources to support this?

Well, the UI is already display the table when choosing the `Tables`- Tab.

## Are you willing to work on this?

Yes.

---

<div class="post-metadata">

**Author:** ![Mulen](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@Mulen](https://community.n8n.io/u/Mulen)\
**Post date:** [August 3, 2022, 7:54am UTC](https://community.n8n.io/t/html-table/13872/2 "2022-08-03T07:54:00Z")

</div>

Yes that would be great. I needed that feature too and the only thing i found is that you create with spreadsheet node a file and attach it, but, i want to show the table inside the mail body.

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [August 3, 2022, 9:17am UTC](https://community.n8n.io/t/html-table/13872/3 "2022-08-03T09:17:53Z")

</div>

Creating an HTML table is already possible with the Spreadsheet File node. And if you want it as data in `json` and not `binary` you can move it over with the Move Binary Data node.

Here an example:

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [August 3, 2022, 10:50am UTC](https://community.n8n.io/t/html-table/13872/4 "2022-08-03T10:50:22Z")

</div>

Hi all, in addition to what @jan said you can also build a more custom table using the Function node.

I was recently working on an example workflow for that, you can [check it out here](https://n8n.io/workflows/1757-google-spreadsheet-to-html-variant-with-js-function/).

This example builds a website looking like so:

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/4/47e96f39b6b938097259c643ed4adb9a309d192d.png)

But of course you can instead build an HTML snippet to be used in an email using this approach.

---

<div class="post-metadata">

**Author:** ![Phonitel](https://avatars.discourse-cdn.com/v4/letter/p/3be4f8/32.png) [@Phonitel](https://community.n8n.io/u/Phonitel)\
**Post date:** [October 16, 2022, 8:25pm UTC](https://community.n8n.io/t/html-table/13872/5 "2022-10-16T20:25:46Z")

</div>

Thank you veru much for sharing. The link given above to build this htm table does not work for me

---

<div class="post-metadata">

**Author:** ![markw](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@markw](https://community.n8n.io/u/markw)\
**Post date:** [October 17, 2022, 1:59am UTC](https://community.n8n.io/t/html-table/13872/6 "2022-10-17T01:59:24Z")

</div>

I also have an interest in this. I did some digging and suspect [this](https://n8n.io/workflows/1757-google-spreadsheet-to-html-variant-with-js-function/) is the correct link. Hopefully @MutedJam can confirm.

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [October 17, 2022, 6:16am UTC](https://community.n8n.io/t/html-table/13872/7 "2022-10-17T06:16:32Z")

</div>

Hi @Phonitel, yes, the link provided by @markw is the correct one.

The recent relaunch of our website did unfortunately break a bunch of old workflow links, please accept my sincere apologies for this. I shall update my post to reflect the new link.
