---
title: renderToString
---

# renderToString

<a href="https://github.com/remix-run/remix/blob/remix@3.0.0-alpha.6/packages/ui/src/server/stream.ts#L1334" target="_blank">View Source</a>

## Summary

Renders a node tree to a complete HTML string.

## Signature

```ts
function renderToString(node: RemixNode): Promise<string>;

```

## Params

### node

Node tree to render.

## Returns

Rendered HTML.