Convert VOC to OGA — Free Online Tool

Convert VOC audio files — the legacy Creative Labs format used in DOS-era Sound Blaster games — into OGA (Ogg Vorbis) for modern playback and streaming. This tool re-encodes the raw PCM audio (typically 8-bit unsigned or 16-bit signed) into Vorbis using the libvorbis encoder, producing a compressed, open-format file at Vorbis quality level 4 by default.

FFmpeg Command

Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg

Free — no uploads, no signups. Your files never leave your browser.

Estimated output:

Conversion Complete!

Download

How It Works

VOC files store uncompressed PCM audio data (either 8-bit unsigned or 16-bit signed little-endian samples) in a segmented block structure designed for the DOS Sound Blaster API. During conversion, FFmpeg reads and demuxes the VOC blocks, decodes the raw PCM samples, and then re-encodes the audio stream using the libvorbis encoder into an Ogg container with a .oga extension. Because the source is lossless PCM and the output is lossy Vorbis compression, this is a one-way lossy transcoding step — the Vorbis encoder applies psychoacoustic compression to reduce file size significantly while preserving perceived audio quality. The Ogg container wraps the Vorbis bitstream with metadata framing, making the output compatible with modern media players, web browsers, and streaming pipelines.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg binary — the open-source multimedia processing engine that handles demuxing the VOC block structure, decoding raw PCM samples, and running the Vorbis encoder pipeline.
-i input.voc Specifies the input VOC file. FFmpeg automatically detects the VOC container format and identifies the embedded PCM audio codec (either pcm_u8 or pcm_s16le) from the file's block headers.
-c:a libvorbis Selects the libvorbis encoder for the audio stream, transcoding the raw uncompressed PCM samples from the VOC file into Ogg Vorbis — a lossy, open-source audio codec widely supported by modern browsers and media players.
-q:a 4 Sets the Vorbis variable bitrate quality level to 4 on a scale of 0–10, targeting approximately 128 kbps. This is a sensible default for VOC content, balancing file size reduction against audio fidelity — particularly appropriate since many VOC files have inherently limited source quality at 8-bit resolution.
output.oga Defines the output filename with the .oga extension, which signals an Ogg container holding an audio-only Vorbis stream. FFmpeg infers the Ogg muxer from this extension and writes the encoded Vorbis bitstream into the resulting file.

Common Use Cases

  • Extracting and modernizing sound effects from classic DOS games (e.g., Doom, Quake, or Lucas Arts titles) so they can be used in game remakes or fan projects with modern audio engines that don't support VOC
  • Archiving or cataloguing a collection of vintage Sound Blaster audio samples in a compressed, space-efficient format without buying proprietary software
  • Preparing retro game audio assets for web-based emulators or HTML5 game ports that require Ogg Vorbis audio for browser compatibility
  • Converting VOC voice-acting or dialogue samples ripped from 1990s CD-ROM adventure games into a shareable open format for preservation communities
  • Reducing the storage footprint of a large collection of raw PCM VOC files — Vorbis compression can shrink 8-bit mono VOC files dramatically while still sounding perceptually identical
  • Creating audio assets for a chiptune or retro-themed project where source material originates from Sound Blaster-era hardware recordings

Frequently Asked Questions

Yes — Vorbis is a lossy codec, so this conversion is not bit-for-bit reversible. However, the perceptual quality loss at the default quality level 4 is minimal for most VOC content. It's worth noting that many VOC files are already recorded at low fidelity (8-bit, 8–22 kHz mono), so Vorbis encoding at quality level 4 will generally preserve all the audible detail present in the original without introducing noticeable artifacts.
The OGA container (an Ogg file explicitly holding audio-only streams) supports Vorbis, FLAC, and Opus codecs. This tool defaults to libvorbis because Vorbis offers a good balance of compression efficiency and broad compatibility with media players, browsers, and emulation software. If you need lossless output — for preservation purposes, for example — you could modify the FFmpeg command to use -c:a flac instead, which would produce a lossless FLAC stream inside the Ogg container.
The quality is controlled by the -q:a flag, which accepts values from 0 (lowest bitrate, ~64 kbps) to 10 (highest bitrate, ~500 kbps), with 4 as the default (~128 kbps). For VOC files that contain low-sample-rate 8-bit audio, quality level 2 or 3 is usually more than sufficient and will produce smaller files. For higher-fidelity 16-bit Sound Blaster recordings, quality level 5 or 6 may better preserve the source material. Example: ffmpeg -i input.voc -c:a libvorbis -q:a 6 output.oga
VOC files technically support stereo audio through their block structure, though the vast majority of historical Sound Blaster recordings are mono, reflecting the hardware limitations of the era. FFmpeg will automatically detect the channel count from the VOC file and pass it through to the Vorbis encoder, so if your source VOC is stereo, the OGA output will also be stereo — no additional flags are needed.
VOC files have virtually no metadata support — the format was designed for raw audio playback in DOS applications and contains no fields for title, artist, or track information. The OGA/Ogg Vorbis format supports rich Vorbis comment metadata tags, but since the source has nothing to transfer, the output file will simply have no embedded tags. You can add metadata manually using FFmpeg's -metadata flag: for example, adding -metadata title="My Sound" to the command before the output filename.
The single-file command shown works for one file at a time, but you can batch process in a shell. On Linux or macOS, run: for f in *.voc; do ffmpeg -i "$f" -c:a libvorbis -q:a 4 "${f%.voc}.oga"; done. On Windows Command Prompt, use: for %f in (*.voc) do ffmpeg -i "%f" -c:a libvorbis -q:a 4 "%~nf.oga". This is especially useful when ripping entire sound directories from DOS game installations.

Technical Notes

VOC files use an unsigned 8-bit PCM encoding by default (pcm_u8), which means sample values range from 0–255 with 128 representing silence — distinct from the signed convention used in most modern audio formats. FFmpeg handles this transparently during decoding, converting the unsigned samples to signed internal representation before passing them to the Vorbis encoder. The 16-bit variant (pcm_s16le) found in higher-quality Sound Blaster recordings is handled identically. One known limitation: some VOC files sourced from games use non-standard sample rates (e.g., 11025 Hz or even lower), which the libvorbis encoder supports without issue. However, extremely low sample rates (below 8000 Hz) may cause warnings or require resampling. OGA files produced by this conversion will support chapter markers structurally, but since VOC has no chapter concept, no chapters are written. The output file size will be dramatically smaller than the source — a 1 MB 8-bit 11025 Hz mono VOC file might compress to under 80 KB at Vorbis quality 4.

Related Tools