---
title: "Split HTML"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/nodetool/document/splithtml
markdown: https://docs.nodetool.ai/nodes/nodetool/document/splithtml.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/document/splithtml.md
---

# Split HTML

**Type:** `nodetool.document.SplitHTML`

**Namespace:** `nodetool.document`

## Description

Split HTML content into semantic chunks based on HTML tags.
    html, text, semantic, tags, parsing

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| document | `document` | Document ID to associate with the HTML content | `{"type":"document","uri":"","asset_id":null,"da...` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| text | `str` |  |
| source_id | `str` |  |
| start_index | `int` |  |
| chunks | `list` |  |

## Related Nodes

Browse other nodes in the [nodetool.document](./) namespace.
