M4A to OGG Converter

Turn M4A audio into Ogg Vorbis files for games, players and open-source tools.

or drop files here

M4

M4A Format

MPEG-4 Audio

An audio-only file in the MPEG-4 container. Apple adopted the extension for unprotected music files, and most M4A files hold AAC audio.

  • MPEG-4 container
  • audio only
  • usually AAC audio
OG

OGG Format

Ogg container

A free container format maintained by Xiph.Org. The .ogg extension is most commonly used for Vorbis audio, a lossy codec.

  • open container
  • maintained by Xiph.Org
  • usually Vorbis audio

How to convert M4A to OGG

Follow these steps to convert M4A to OGG online.

    1

    Choose your M4A file, or several at once.

    2

    Wait while the converter turns each file into OGG.

    3

    Download each new OGG file. Your original file isn't changed.

Before converting M4A to OGG

  • The OGG holds Vorbis audio, encoded with libvorbis at quality 5.
  • The page sets no bitrate, so the quality mode decides the size.
  • AAC is lossy already, so the OGG is a second lossy encode; keep the M4A if you need the original.
  • Title, artist and album tags are copied, and any video track is dropped.

About M4A and OGG

What is an M4A file?

M4A is the extension for MPEG-4 files that hold only audio, and Apple adopted it for unprotected music files. The audio inside is mostly AAC, specified in MPEG-4 Part 3 (ISO/IEC 14496-3). It is a lossy codec built to beat MP3 at a given bitrate. Apple used AAC for songs sold through iTunes. AAC handles sample rates from 8 to 96 kHz and bitrates up to 512 kbps, so one M4A can differ a lot from another in size and detail.

The media type for M4A is audio/mp4. Listening is easy: browsers play AAC in MP4 and Android plays .m4a on every version. It is less convenient when a game engine, an open-source editor or a system asks for Ogg, which is why people convert.

Programs that open M4A files

  • Windows, Mac and Linux: Audacity opens an M4A only through the optional FFmpeg library, and protected files cannot be imported.
  • Windows, Mac and Linux: ffplay, the player from FFmpeg, plays M4A through the demuxer that FFmpeg includes for it.
  • Web: Firefox and Chrome both play M4A themselves, with AAC support that may rest on the system's codecs.
  • Mobile: VLC for Android is a free media player that decodes what is inside the container, and mpv for Android, the port the mpv project links to, plays it too.

M4A and OGG compared

Ogg is an open container kept by Xiph.Org. Compressed sound and video streams can share one file, and each stream's compression is set by its codec. Its framing carries timestamps and error detection, and streams are read and written in sequence.

  • Extensions: .m4a; .ogg, with .oga as the broader audio extension.
  • Media types: audio/mp4 for M4A; audio/ogg for an audio-only Ogg stream, registered by the IETF in September 2008.
  • Codecs: usually AAC in M4A; Vorbis in this page's OGG.

A file name can mislead, since RFC 5334 treats .ogg Vorbis, general .oga audio and .ogv video as different things. A player needs the codec inside as well as Ogg support. Damaged pages are detected, yet missing encoded audio is not rebuilt.

On the desktop, Audacity imports Ogg Vorbis directly, and VLC plays Ogg containers and decodes Vorbis audio on Windows, Mac and Linux. That makes the OGG a practical choice when the file is headed for an editor that has no FFmpeg library installed.

This page runs libvorbis at quality 5 and drops any video track. You download your file's name with .ogg at the end, and the M4A itself is left alone. Title, artist and album tags are copied to the OGG. A low-bitrate AAC file does not gain detail by becoming Vorbis, so convert when the destination needs Ogg and not to improve the sound.

A game or playback library may ask for Ogg Vorbis because that is the decoder it ships, and that can justify the conversion even when M4A plays well elsewhere. If the receiving program accepts the AAC directly, re-encoding is unnecessary.

Other ways to convert M4A to OGG

  • Audacity: import the M4A, which needs the optional FFmpeg library, then open File > Export Audio and pick the format from the dropdown. Ctrl+Shift+E opens the same dialog. Some formats offer options such as quality or encoding, and Ogg Vorbis has its own export options page.
  • FFmpeg: ffmpeg -i memo.m4a -c:a libvorbis -q:a 5 memo.ogg encodes Vorbis at quality 5. libvorbis must be enabled when FFmpeg is built, and the quality range runs from -1.0 to 10.0.

Problems with M4A files

Audacity refuses to import: it needs its optional FFmpeg library before it can import M4A.

A protected recording will not open: DRM-protected recordings cannot be imported through Audacity's documented FFmpeg route.

The tags are wrong after a batch import: bringing several recordings into one Audacity window leaves the project with the tags of the last file.

A player stays silent or refuses: playback needs the matching decoder as well as the container, and a browser may depend on the system's AAC support. Try Firefox, Chrome or VLC for Android.

A later export sounds worse: each lossy conversion adds loss. Return to the best source before making each new format, because AAC is already lossy.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert M4A to OGG?

What is the difference between M4A and OGG?

What quality does the OGG get?

Does converting an AAC M4A to OGG lose quality?

Does OGG always mean Vorbis?

Will the tags carry over?

Why won't Audacity open my M4A?

Is there a file size limit?

Is my M4A uploaded anywhere?

What happens to a video track in the file?