Extract Audio from HEVC to MP3 — Free Online Tool
Extract the audio track from an HEVC/H.265 video file and save it as an MP3 using the LAME encoder. This is especially useful for pulling audio from high-efficiency, bandwidth-optimized H.265 footage — such as 4K or HDR recordings — where you only need the sound.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your HEVC file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
HEVC (H.265) video files contain a video stream encoded with the libx265 codec and typically one or more audio streams (commonly AAC or AC-3). This tool discards the video stream entirely using the -vn flag and re-encodes only the audio stream using the LAME MP3 encoder (libmp3lame) at 128k bitrate. Because HEVC containers can use a variety of audio codecs, the audio cannot simply be copied into MP3 format — it must be decoded from its original codec and re-encoded into MPEG Audio Layer III. The result is a standalone .mp3 file containing only the audio, with no video data, making it far smaller and universally playable.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg program. In the browser, this runs via FFmpeg.wasm compiled to WebAssembly, so no installation is needed and no files leave your device. |
-i input.hevc
|
Specifies the input HEVC file. FFmpeg reads both the H.265 video stream and any audio streams present in this file, making them available for processing. |
-vn
|
Disables video output entirely — 'vn' stands for 'video none'. This is the key flag that makes this an audio-only extraction: all H.265 video data from the HEVC source is read but immediately discarded, so none of it ends up in the MP3. |
-c:a libmp3lame
|
Selects the LAME MP3 encoder to re-encode the audio stream. Since the audio inside an HEVC file (typically AAC or AC-3) cannot be directly remuxed into MP3 format, this encoder decodes the original audio and compresses it into MPEG Audio Layer III, the format MP3 players and streaming services universally support. |
-b:a 128k
|
Sets the MP3 audio bitrate to 128 kilobits per second. This is a widely accepted standard bitrate that balances file size and perceptual audio quality — the output will be roughly 1 MB per minute of audio, suitable for speech, podcasts, and general-purpose music listening. |
output.mp3
|
Defines the output filename and container. The .mp3 extension tells FFmpeg to write an MP3 file, which contains only the re-encoded LAME audio stream with no video, no subtitles, and no H.265 data. |
Common Use Cases
- Extracting a music soundtrack or score from an H.265 encoded Blu-ray rip or streaming download to listen to on the go
- Pulling the audio from a 4K HEVC drone or action camera recording to use as narration or ambient sound in a podcast or audio project
- Converting an H.265 lecture or webinar recording into a portable MP3 so it can be listened to on a phone or MP3 player without video
- Stripping the audio from an HDR HEVC movie clip to create a sound effects library or sample for creative projects
- Extracting dialogue or commentary from an H.265 video file to create subtitles or a transcript using speech-to-text tools that only accept audio input
- Archiving only the audio commentary track from an HEVC-encoded sports or gaming highlight reel to save storage space
Frequently Asked Questions
Yes, there will be some quality loss because the audio must be re-encoded into MP3, which is a lossy format. The original audio in an HEVC file is typically stored as AAC or AC-3 — both lossy formats themselves — so this is a lossy-to-lossy transcode. At the default 128k bitrate, the result is acceptable for speech and casual listening, but audiophiles may prefer a higher bitrate like 192k or 320k. If you need lossless output, consider extracting to FLAC or WAV instead.
No. The H.265 CRF (Constant Rate Factor) setting controls only the video compression and has no bearing on the audio stream. The audio track in an HEVC file is stored independently of the video codec settings. The quality of the extracted MP3 depends entirely on the bitrate used during the MP3 encoding step, which defaults to 128k in this tool.
Yes. The 4K resolution and HDR metadata are part of the video stream, which is completely discarded during this conversion using the -vn flag. The audio extraction process is unaffected by the video's resolution or HDR properties. The resulting MP3 file will contain only the audio and will be playable on any device without needing an HDR-capable display or H.265 decoder.
Replace the value after -b:a in the command with a higher bitrate. For example, to get higher quality output, use '-b:a 320k' instead of '-b:a 128k'. The full command would then read: ffmpeg -i input.hevc -vn -c:a libmp3lame -b:a 320k output.mp3. MP3 supports bitrates from 32k up to 320k — 192k is a good balance for music, while 128k is generally sufficient for speech.
The command shown processes one file at a time, but you can batch process on the desktop using a shell loop. On Linux or macOS, run: for f in *.hevc; do ffmpeg -i "$f" -vn -c:a libmp3lame -b:a 128k "${f%.hevc}.mp3"; done. On Windows Command Prompt, use: for %f in (*.hevc) do ffmpeg -i "%f" -vn -c:a libmp3lame -b:a 128k "%~nf.mp3". The browser-based tool processes one file at a time.
FFmpeg will attempt to copy compatible metadata such as title, artist, and comment fields from the source container into ID3 tags in the MP3 output. However, HEVC files (particularly raw .hevc streams or some container variants) may carry minimal metadata, so the MP3 may have few or no tags populated. If you need complete ID3 tagging, you can add tags manually using a tool like Mp3tag after the conversion.
Technical Notes
HEVC files can be wrapped in several container formats (MP4, MKV, TS), but raw .hevc bitstream files carry no container-level audio — meaning a bare .hevc file may contain no audio track at all. If your source is a raw HEVC bitstream rather than a containerized file, this extraction will produce no output. Most HEVC content encountered in practice is wrapped in MP4 or MKV containers with accompanying audio. The audio codec inside those containers is most commonly AAC (Advanced Audio Coding), which must be fully decoded before being re-encoded as MP3 since there is no direct lossless mapping between AAC and MP3. The -vn flag ensures zero video data is processed, making the conversion significantly faster than a full video transcode — even for lengthy 4K or 8K HEVC sources. The output MP3 at 128k uses CBR (Constant Bitrate) encoding via libmp3lame, which maximizes compatibility with older hardware players and car audio systems. MP3 is mono/stereo only — if the HEVC source contains surround sound (e.g., 5.1 AC-3), FFmpeg will automatically downmix to stereo in the output.