.AL

AL File

A-law Audio File (CCITT G.711 A-law)
Ask a question
QUICK ANSWER

A .al file is usually a raw A-law audio file - 8-bit telephony audio encoded per ITU-T G.711, with no header. To open it, use Audacity's Import Raw Data and set encoding to A-Law, 8000 Hz, mono. If you found it in an Oracle database directory, it is a plain-text log file, not audio.

Developer: ITU-T (CCITT G.711 standard); Unix/Sun Microsystems heritage Category: Audio Files Open standard MIME: audio/x-alaw-basic
OPENS ON Windows macOS Linux
Related: .OPUS · .M3U · .M3U8 · .WFP

On this page

19k+ extensions indexed
Last reviewed Jul 5, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the AL file format?

An .al file is a raw A-law audio file containing uncompressed PCM audio encoded with A-law companding as defined in the ITU-T G.711 standard. The format carries no file header - audio samples begin at byte 0, so sample rate, channel count, and recording length must be known from context.

A-law companding is a logarithmic compression scheme that maps 13-bit linear PCM samples into 8-bit values, giving telephone-quality speech a useful dynamic range at a fixed data rate of 8,000 bytes per second (8 kHz mono). This is the standard for telephony across Europe, Asia, and Africa; the North American and Japanese counterpart is µ-law, stored with the .ulaw or .ul extension.

The .al extension originated in Unix workstation audio toolchains of the 1980s and 1990s. The same A-law data was also commonly wrapped in .au (Sun Audio) containers, which add a descriptive header identifying the encoding and sample rate. The .al extension is Unix-specific and rarely encountered on Windows or macOS.

Despite its age, G.711 A-law remains the dominant codec on public switched telephone networks and in VoIP systems (RTP payload type 8). Tools such as SoX (sox) can decode .al files by specifying the encoding, sample rate, and channel count explicitly; Audacity can import them via its raw audio import function. Converted output is typically saved as .wav.

Security & safety

RISK: LOW

Headerless raw audio - no executable code possible. Cannot trigger exploits through codec parsing (no parser metadata). Very low risk.

Format details

in a nutshell
FULL NAMEA-law Audio File (CCITT G.711 A-law)aka ALAW audio, G.711 A-law raw audio
DEVELOPERITU-T (CCITT G.711 standard); Unix/Sun Microsystems heritagesince 1972 (G.711 standard); .al extension common in Unix workstations ~1985-1995
CATEGORYAudio Files
MIME TYPEaudio/x-alaw-basic
TYPERaw uncompressed audio (PCM with A-law companding, no header container)
STANDARDOpen · royalty-free
This extension is also used by…
  • Oracle Database Autoextend/Alert Log - Oracle uses .al for alert log and archive log files - a plain-text database diagnostic file entirely unrelated to audio.
  • AutoIt Compiled Script (historical) - Some older AutoIt versions used .al for compiled script files.

Programs that open AL files

Windows2 apps
VLC media player Open-source May play raw A-law with Media → Open File; if not recognized, use FFmpeg conversion first.
Audacity Open-source File → Import → Raw Data → select file, set encoding to A-Law, sample rate 8000 Hz, mono, big-endian.
macOS1 app
Audacity Open-source File → Import → Raw Data → A-Law, 8000 Hz, mono.
Linux2 apps
Audacity Open-source Import Raw Data → A-Law, 8000 Hz, mono.
SoX (Sound eXchange) Open-source sox -r 8000 -e a-law -c 1 -b 8 input.al output.wav - converts to WAV.

Technical details

deep spec
EncodingRaw 8-bit A-law companded PCM samples; no file header or container
Companding algorithmA-law (ITU-T G.711): maps 13-bit linear PCM to 8-bit values using a piecewise logarithmic function; achieves ~36 dB SNR for speech
Data rate8,000 bytes/second at standard telephony rate (8 kHz mono); 1 minute of audio ≈ 480 KB
Standard sample rate8,000 Hz (G.711 narrowband telephone); 16,000 Hz for wideband (G.711.1)
Byte orderBig-endian (Sun/Unix convention; no header to confirm)
HeaderNone - raw samples begin at byte 0; sample rate, channel count, and length must be supplied externally
ChannelsMono (1 channel) standard for telephone; stereo possible but uncommon
Geographic standardEuropean, Asian, and African telephony standard; North American/Japanese equivalent is µ-law (.ul/.ulaw, RTP payload type 0)
MIME typeaudio/x-alaw-basic; also audio/basic (shared with µ-law)
Primary applicationPSTN telephony, VoIP (SIP/RTP G.711 A-law payload type 8), IVR systems, call recording
Identification limitationNo magic bytes; cannot be identified by file signature alone - format must be inferred from extension or system context
Related headerless format.ul/.ulaw (µ-law G.711); .au (Sun Audio) provides the same A-law data with an added descriptive header
Released1972 (G.711 standard); .al extension common in Unix workstations ~1985-1995
Latest versionG.711 (unchanged since 1988 revision)
Open standardYes · royalty-free
Specificationwww.itu.int

AL conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with AL files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about AL files.

Frequently asked questions

How do I play a .al audio file?
Use Audacity: File → Import → Raw Data, set encoding to A-Law, sample rate 8000 Hz, 1 channel (mono). Or use FFmpeg to convert to WAV first.
What is A-law encoding?
A-law is a logarithmic companding algorithm (ITU-T G.711) that encodes 13-bit linear audio into 8 bits, used in European/international telephone networks. The American equivalent is μ-law (G.711 µ-law).
Why does my .al file have no sound when I open it?
Raw A-law must be imported with the correct parameters. In Audacity use 'Import Raw Data' (not regular Open) and specify: A-Law, 8000 Hz, mono, big-endian.
I found a .al file in my Oracle data directory - is it audio?
No - Oracle archive log files also use .al extension. Open it in a text editor to check: if it starts with readable log text, it's an Oracle log file, not audio.
How do I convert .al to WAV?
FFmpeg: ffmpeg -f alaw -ar 8000 -ac 1 -i input.al output.wav (adjust -ar if your sample rate differs from 8000 Hz).

References

1ITU-T G.711 - Pulse Code Modulation of Voice Frequencieswww.itu.int
2Au file format - Wikipedia (covers A-law/µ-law encoding context)en.wikipedia.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.NOMEDIAAndroid No-Media Marker File
7.BINCD/DVD Disc Image (BIN/CUE)
8.RPMSGRestricted Permission Message
9.MDMarkdown Document
10.TMPTemporary File

Related extensions

.OPUSOpus Audio File (Ogg Opus)
.M3UM3U Media Playlist (MP3 URL)
.M3U8UTF-8 M3U Playlist / HLS (HTTP Live Streaming) Playlist
.WFPWaveFront Program file (Turtle Beach)
.XSPFXSPF - XML Shareable Playlist Format (pronounced 'spiff')
.AMRAdaptive Multi-Rate (AMR) audio

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z