---
title: "Save Audio 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/nodetool/audio/saveaudiofile
markdown: https://docs.nodetool.ai/nodes/nodetool/audio/saveaudiofile.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/nodetool/audio/saveaudiofile.md
---

# Save Audio File

**Type:** `nodetool.audio.SaveAudioFile`

**Namespace:** `nodetool.audio`

## Description

Write an audio file to disk.
    audio, output, save, file

    The filename can include time and date variables:
    %Y - Year, %m - Month, %d - Day
    %H - Hour, %M - Minute, %S - Second

    Supported formats: mp3, wav, ogg, flac, aac, m4a

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| audio | `audio` | The audio to save | `{"type":"audio","uri":"","asset_id":null,"data"...` |
| folder | `str` | Folder where the file will be saved | `` |
| filename | `str` |          Name of the file to save.         You can use time and date variables to create unique names:         %Y - Year         %m - Month         %d - Day         %H - Hour         %M - Minute         %S - Second          | `` |
| FORMAT_MAP | `dict[str, str]` |  | `{".mp3":"mp3",".wav":"wav",".ogg":"ogg",".flac"...` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `audio` |  |

## Related Nodes

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