---
title: "Read Binary File"
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/lib/os/readbinaryfile
markdown: https://docs.nodetool.ai/nodes/lib/os/readbinaryfile.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/os/readbinaryfile.md
---

# Read Binary File

**Type:** `lib.os.ReadBinaryFile`

**Namespace:** `lib.os`

## Description

Read a binary file from the workspace as base64-encoded string.
    os, file, read, binary

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| path | `str` | Relative path to file within workspace | `` |

## Outputs

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

## Related Nodes

Browse other nodes in the [lib.os](./) namespace.
