.SAP

SAP File

Slight Atari Player music file
Ask a question
QUICK ANSWER

A SAP file is Atari 8-bit POKEY chip music stored as the original 6502 player code plus music data, not a recorded audio file. To play it you need ASAP (Windows, macOS, Linux) or a media player with the ASAP plugin. Standard players like Windows Media Player or iTunes will not open it. To get a normal audio file, render the emulated output to WAV or MP3 using ASAP or foobar2000 with the ASAP component.

Developer: Adam Bienias (SAP format); music from the Atari 8-bit / POKEY chip ecosystem Category: Audio Files Open standard MIME: audio/x-sap
OPENS ON Windows macOS Linux Web
Related: .OPUS · .M3U · .M3U8 · .WFP

On this page

19k+ extensions indexed
Last reviewed Jun 25, 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 SAP file format?

.sap (Slight Atari Player music file) is an audio file format used on Atari 8-bit systems. Rather than storing sampled audio, a .sap file contains data for synthesizing sound in real time - a 6502 player program plus music data that drives the Atari POKEY chip via emulation. The only way to hear a .sap track is through a POKEY-emulating player such as ASAP (Another Slight Atari Player); standard media players require a plugin. SAP files were widely used in games as soundtracks and across the Atari demo scene.

Internally, a .sap file opens with an ASCII text header of tag lines - AUTHOR, NAME, DATE, TYPE, SONGS, and others - terminated by two 0xFF bytes, after which binary 6502 player code follows. The TYPE field selects the player model: B (BASIC call), C (compiled), D (digital), S (SoftSynth), or R (raw POKEY register dump).

The Atari 400 and 800, which debuted in 1979, used the POKEY chip as their audio output. The format was created by Adam Bienias in the late 1990s alongside the ASMA (Atari SAP Music Archive), still actively maintained today. Like .SID for the Commodore 64 or .NSF for the NES, .sap is a respected chiptune standard rather than a mere artifact of the past.

Security & safety

RISK: LOW

A SAP file contains 6502 player code, but it only ever runs inside an Atari-8-bit emulator's sandbox (POKEY/CPU emulation), not as native Windows/macOS code, so it cannot harm your PC in normal use. The only real caution is downloading the player software from the official ASAP SourceForge/GitHub pages rather than random 'codec' sites, which often bundle adware. ASMA tunes are community-preserved retro music; respect the original composers' credits.

Format details

in a nutshell
FULL NAMESlight Atari Player music fileaka SAP chiptune, Atari 8-bit SAP music
DEVELOPERAdam Bienias (SAP format); music from the Atari 8-bit / POKEY chip ecosystemsince Late 1990s, alongside the ASMA (Atari SAP Music Archive)
CATEGORYAudio Files
MIME TYPEaudio/x-sap
TYPEChiptune music file - text header + 6502 player code and music data that drives the Atari POKEY sound chip via emulation
STANDARDOpen · royalty-free
This extension is also used by…
  • SAP ERP transport / report file - Various .sap files appear in SAP ERP/GUI contexts (e.g. SAP Logon shortcut/landscape data) - unrelated to Atari music.
  • IES Hyperbanner Java animation - An old web banner-animation format (the name carried in this DB entry); long obsolete and unrelated to the audio format.
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304
HEX
5341500D0A
ASCII
SAP··
A SAP file begins with the ASCII signature 'SAP' and a CR/LF, then a block of human-readable tag lines (AUTHOR, NAME, DATE, TYPE, SONGS, etc.), terminated by 0xFF 0xFF, after which the binary 6502 player/music data follows. The leading text header is the reliable identifier.

Programs that open SAP files

Windows3 apps
ASAP (Another Slight Atari Player) Open-source Install ASAP standalone (or the foobar2000/Winamp plugin), then open the .sap to play and select subtunes.
foobar2000 + foo_asap plugin Free Install the ASAP foobar2000 component, then drag the .sap into foobar2000 to play and convert.
Winamp + ASAP plugin Freemium Add the ASAP input plugin to Winamp, then open the .sap (replaces the obsolete generic 'SAP Player').
macOS2 apps
Audio Overload Free Open the .sap in Audio Overload, a multi-system chiptune player that supports Atari SAP.
ASAP (build from source / SDL player) Open-source Use the cross-platform ASAP player to play and render SAP files on macOS.
Linux2 apps
Audio Overload Free Open the .sap in Audio Overload to play Atari chiptunes.
ASAP Open-source Install asap (or the XMMS/audacious plugin) and run asapconv/the player on the .sap file.
Web1 app
ASAP.js (browser player) Open-source Many ASMA mirrors embed the JavaScript ASAP player so you can play .sap tunes directly in the browser.

Technical details

deep spec
Magic bytesASCII `SAP` followed by `CR LF` (hex `53 41 50 0D 0A`) at byte offset 0
Header structureHuman-readable ASCII tag block; each line ends with `CR LF`; block terminated by `0xFF 0xFF` separator before binary data
Player type (TYPE field)`B` (BASIC call), `C` (compiled), `D` (digital), `S` (SoftSynth), `R` (raw POKEY register dump)
EncodingHybrid - ASCII text header followed by binary 6502 machine code and music data
Byte orderLittle-endian, matching the 6502 CPU architecture
Audio generationReal-time POKEY chip emulation at NTSC ~1.79 MHz or PAL ~1.77 MHz base clock; rendered to PCM typically at 44.1 kHz
CompressionNone; files are typically 1 KB-64 KB (chiptune data is inherently compact)
MIME type`audio/x-sap`
Multi-song support`SONGS` tag declares the sub-tune count; `INIT` and `PLAYER` tags specify the 6502 addresses used per sub-tune
Metadata tags`AUTHOR`, `NAME`, `DATE`, `TYPE`, `SONGS`, `FASTPLAY`, `INIT`, `PLAYER`, `MUSIC` embedded in the ASCII header
DeveloperAdam Bienias; associated with the ASMA (Atari SAP Music Archive) chiptune preservation project
Platform originAtari 8-bit computers (400, 800, XL/XE series) using the POKEY sound chip
Playback requirementRequires a 6502 + POKEY emulating player such as ASAP; standard media players cannot open `.sap` without a dedicated plugin
Format categoryStores 6502 player code and register data, not sampled audio - analogous to `.sid` (C64), `.nsf` (NES), `.spc` (SNES)
ReleasedLate 1990s, alongside the ASMA (Atari SAP Music Archive)
Latest versionSAP format with multiple TYPE players (B, C, D, S, R); ASMA collection actively maintained
Open standardYes · royalty-free
Specificationasap.sourceforge.net

SAP conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with SAP 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 SAP files.

Frequently asked questions

How do I play a SAP file?
Use an Atari chiptune player: ASAP (Windows/macOS/Linux, plus foobar2000/Winamp/browser plugins) or Audio Overload. Regular media players can't play it without the ASAP plugin because it's player code, not recorded audio.
Why won't Windows Media Player open my SAP file?
Because a SAP isn't an audio recording - it's a tiny 6502 program plus music data that has to be run through POKEY emulation. Install ASAP (or the foobar2000/Winamp ASAP plugin) to play it.
How do I convert a SAP to MP3 or WAV?
Render the emulated output: ASAP's asapconv writes WAV, and foobar2000 with the ASAP component can output WAV or MP3. Pick a subtune and set a length, since chiptunes loop forever.
What is a SAP file and where do they come from?
It's Atari 8-bit POKEY chip music, usually downloaded from the ASMA (Atari SAP Music Archive). The format preserves the original player routine so the music plays exactly as on real Atari hardware.
Does a SAP file have multiple songs?
Often yes - the SONGS tag gives the number of subtunes and DEFSONG the default. ASAP and foobar2000 let you step through the subtunes.
Is a .sap file the same as a SAP ERP file?
No. This .sap is Atari chiptune music. The business-software company SAP uses .sap for unrelated things (e.g. SAP Logon shortcuts); they just share the extension.

References

1ASAP - Another Slight Atari Player (player + format)asap.sourceforge.net
2SAP file format descriptionasap.sourceforge.net

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.MDMarkdown Document
4.CRDOWNLOADChrome Partial Download File
5.RPMSGRestricted Permission Message
6.PARTPartial Download File
7.NOMEDIAAndroid No-Media Marker File
8.EXEWindows Executable (Portable Executable)
9.DBSQLite Database File
10.SWFSmall Web Format (Shockwave Flash)

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