---
layout: page
title: "Read Text File"
node_type: "nodetool.workspace.ReadTextFile"
namespace: "nodetool.workspace"
---

**Type:** `nodetool.workspace.ReadTextFile`

**Namespace:** `nodetool.workspace`

## Description

Read a text file from the workspace.
    workspace, file, read, text

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| path | `str` | Relative path to file within workspace | `` |
| encoding | `str` | Text encoding (utf-8, ascii, etc.) | `utf-8` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `str` |  |

## Related Nodes

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