# Convert AIFF to FLAC

Convert AIFF or AIF audio to lossless FLAC in your browser — preserve samples and textual tags, choose FLAC compression level 0-12, and download the result.

## Run it

- **CLI:** `gizza tool aiff-to-flac 'url=https://example.com/input' 'compression_level=5'`
- **Web:** https://gizza.ai/tools/aiff-to-flac/
- **Agents:** machine-readable descriptor (parameters JSON Schema) at https://gizza.ai/tools/aiff-to-flac/tool.json

## Inputs

- `compression_level` — FLAC compression level _(field)_
- `audio` — AIFF audio _(file; accept: audio/*,.aif,.aiff)_

## Output

- Converted FLAC (audio)

## Query parameters

Open the tool pre-filled and auto-run via URL:

- `compression_level` — FLAC compression level
- `url` — fetch the input file from a public URL (CORS-permitting)

Example: `https://gizza.ai/tools/aiff-to-flac/?compression_level=5&url=https://example.com/input`

---

## Convert AIFF to FLAC in your browser

Upload an AIFF or AIF file and convert it to FLAC, a lossless compressed audio format. The conversion runs locally with ffmpeg compiled to WebAssembly, so your audio is not uploaded to a server. The output keeps the decoded samples intact and uses `-map_metadata 0` to carry textual tags such as title, artist, album and year when ffmpeg can map them into FLAC Vorbis comments.

### Worked example

Archive a studio bounce: upload `session-mix.aiff`, leave **FLAC compression level** at `5`, and download `session-mix.flac`. The FLAC decodes to the same audio samples as the AIFF source, but it is usually much smaller. For a final archive where encode time matters less, use level `12`; for quick local checks, use level `0`.

### Limits and edge cases

- Input files up to 25 MiB in the chat/CLI block; browser conversions are also limited by your device memory.
- FLAC compression levels are `0` through `12`. Higher levels can make slightly smaller files but take longer to encode. Audio fidelity is identical at every level.
- Textual metadata is preserved where ffmpeg can map it. This is not a tag editor: existing tags are copied, not changed.
- Embedded cover art is dropped because attached pictures ride as a video stream and can break an audio-only FLAC mux.
- The tool handles AIFF/AIF as its intended input, but ffmpeg may also decode other audio formats accepted by the file picker.
- Batch conversion is not supported; run one audio file at a time.

## FAQ

<details>
<summary>Does FLAC change the sound quality?</summary>

No. FLAC is lossless, so decoding the FLAC gives the same PCM samples that ffmpeg decoded from the AIFF source. The compression level only changes how hard the encoder works to shrink the file.

</details>

<details>
<summary>Which compression level should I choose?</summary>

Use `5` for the default balance of speed and size. Use `0` when you want the fastest encode, or `12` when you want the smallest file and do not mind a slower conversion.

</details>

<details>
<summary>Are my AIFF tags preserved?</summary>

Textual tags are copied with ffmpeg's metadata mapping when the source exposes them and FLAC can represent them as Vorbis comments. Cover art and unsupported container data are not preserved.

</details>

<details>
<summary>Can I convert multiple AIFF files at once?</summary>

No. This page converts one uploaded audio file per run. For a batch, run the CLI repeatedly from your shell or process files one at a time in the browser.

</details>

## Related tools

- [Convert an Audio File](https://gizza.ai/tools/audio-convert/): Convert any audio file to MP3, WAV, OGG, FLAC or M4A right in your browser — pick a bitrate for lossy formats. Runs locally, nothing is uploaded, free.
- [Strip Audio Metadata](https://gizza.ai/tools/audio-metadata-stripper/): Remove ID3 tags, comments, chapters, and cover art from MP3, FLAC, OGG, M4A, WAV, and other audio files in your browser. Stream-copy audio, no upload.
- [Convert Audio to Mono](https://gizza.ai/tools/audio-to-mono/): Downmix any stereo or surround audio file to mono right in your browser — blend all channels or keep just the left/right side. Nothing is uploaded, free.
- [Extract Audio from a Video](https://gizza.ai/tools/extract-audio-from-video/): Pull the audio track out of any video as MP3 or WAV, right in your browser — pick a format and bitrate. Runs locally with ffmpeg, nothing is uploaded, free.
- [Extract M4A Audio from MP4](https://gizza.ai/tools/mp4-to-m4a/): Extract an MP4's audio track to M4A in your browser. Lossless stream-copy remux — no re-encode, no quality loss, nothing uploaded.
