Convert AIFC to J2B — Free Online Tool

Convert AIFC audio files — including PCM and compressed variants from Apple's extended AIFF format — to J2B, the ASYLUM Music Format-based audio container used by Jazz Jackrabbit 2. The conversion re-encodes your audio using the LAME MP3 encoder at 128k bitrate by default, producing a J2B file compatible with the game's audio pipeline.

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

AIFC files can contain either uncompressed PCM audio (in formats like pcm_s16be or pcm_s24be stored as big-endian samples) or compressed variants like A-law and mu-law. During this conversion, FFmpeg decodes the AIFC audio stream — handling whatever PCM or compressed codec is present inside the container — and then re-encodes the decoded audio using the libmp3lame encoder into an MP3 bitstream. That MP3 data is then wrapped in J2B's ASYLUM Music Format header structure. Because J2B only supports libmp3lame as its audio codec, this is always a full transcode (not a remux), meaning the audio is fully decoded and re-encoded regardless of the source codec in the AIFC file. The output is a lossy J2B file at 128k bitrate by default.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg command-line tool, which is running here as FFmpeg.wasm compiled to WebAssembly and executed entirely in your browser — no file is sent to a server.
-i input.aifc Specifies the input AIFC file. FFmpeg automatically detects the AIFC container and identifies whichever audio codec is stored inside it (such as pcm_s16be for standard lossless AIFC or pcm_alaw for a compressed variant), then decodes it accordingly.
-c:a libmp3lame Instructs FFmpeg to encode the audio output using the LAME MP3 encoder. This is required because J2B's ASYLUM Music Format container only supports MP3 audio, so the decoded AIFC audio must be fully re-encoded to MP3 regardless of the source codec.
-b:a 128k Sets the MP3 audio bitrate to 128 kilobits per second. This is a common default for game audio and balances file size against perceptible quality loss; you can raise this to 192k or 320k for better fidelity when converting high-quality professional AIFC sources.
output.j2b Specifies the output filename and tells FFmpeg to write a J2B file. FFmpeg uses the .j2b extension to select the ASYLUM Music Format container muxer, which wraps the libmp3lame-encoded MP3 stream in the header structure expected by Jazz Jackrabbit 2.

Common Use Cases

  • Modding Jazz Jackrabbit 2 by replacing in-game music tracks with custom audio originally exported from a DAW as AIFC files (a common macOS audio export format).
  • Converting professionally recorded or mastered audio stored in AIFC (e.g., from Logic Pro or Pro Tools) into J2B format for use in JJ2 fan-made levels or community mods.
  • Archivists or game researchers converting original J2B-adjacent audio assets stored in AIFC for analysis within a JJ2-compatible player or level editor.
  • Game audio hobbyists who have sourced raw sound effects or music cues as AIFC files from Apple hardware or software and need them in a format the JJ2 engine can read.
  • Developers testing Jazz Jackrabbit 2 level editors or audio tools who need a quick pipeline to get AIFC source audio into the J2B format without installing a full audio workstation.

Frequently Asked Questions

Yes, because J2B uses the LAME MP3 encoder (a lossy codec), some audio quality is permanently lost during conversion regardless of how high-quality the source AIFC file is. AIFC files can store lossless PCM audio at 16, 24, or 32 bits, so the gap between source and output quality can be significant. At the default 128k bitrate the result is generally acceptable for game audio use, but if you want better fidelity you can increase the bitrate to 192k or 320k in the command.
J2B is the native music format for Jazz Jackrabbit 2 and is based on the ASYLUM Music Format with a specific file header. J2B files produced by this tool use an MP3 audio stream wrapped in that container, which matches what the JJ2 engine and compatible level editors like JCS expect. However, compatibility may depend on your specific version of the game or any community patches you have installed.
FFmpeg handles this transparently. Whether your AIFC file contains pcm_s16be, pcm_alaw, pcm_mulaw, or any other AIFC-supported codec, FFmpeg first fully decodes the audio to raw PCM internally before passing it to the libmp3lame encoder. You do not need to pre-convert your AIFC to a specific codec before using this tool — all AIFC audio variants are supported as input.
Change the value after the -b:a flag in the command. For example, replace '-b:a 128k' with '-b:a 320k' for higher quality MP3 output, or '-b:a 64k' for a smaller file with lower fidelity. For Jazz Jackrabbit 2 game audio, 128k is typically sufficient, but if your source AIFC is high-resolution professional audio you may prefer 192k or 256k to preserve more detail within the lossy MP3 encoding.
Most likely not in any meaningful way. AIFC supports metadata chunks in its container, but J2B's ASYLUM Music Format structure is a minimal game-audio container not designed to store standard ID3 or other metadata tags. Any track title, artist, or comment fields present in the AIFC file will be lost or ignored during the conversion to J2B.
FFmpeg's standard command syntax only processes one input file at a time, but you can batch process using a shell loop. On Linux or macOS, run: for f in *.aifc; do ffmpeg -i "$f" -c:a libmp3lame -b:a 128k "${f%.aifc}.j2b"; done. On Windows Command Prompt, use: for %f in (*.aifc) do ffmpeg -i "%f" -c:a libmp3lame -b:a 128k "%~nf.j2b". This processes every AIFC file in the current directory and outputs a corresponding J2B file.

Technical Notes

AIFC (Audio Interchange File Format Compressed) is Apple's extension of AIFF, storing audio in big-endian byte order with support for both lossless PCM codecs (pcm_s16be, pcm_s24be, pcm_s32be, pcm_f32be, pcm_f64be) and lossy compressed variants (pcm_alaw, pcm_mulaw). J2B, by contrast, is a purpose-built game audio container for Jazz Jackrabbit 2, wrapping an ASYLUM Music Format payload — in FFmpeg's implementation this means the audio is encoded as MP3 via libmp3lame. Because J2B supports only libmp3lame, the conversion always involves full lossy transcoding regardless of whether the AIFC source is lossless PCM or already compressed. There is no remux path. The big-endian sample layout of AIFC is handled internally by FFmpeg's decoder and has no impact on the output. One important limitation: J2B does not support multiple audio tracks, chapters, or subtitle streams, but since AIFC also lacks these features, no stream data is lost beyond the audio itself. File sizes for J2B output will typically be much smaller than high-bit-depth AIFC sources due to the lossy MP3 compression, which can be advantageous for game asset bundling.

Related Tools