.asf

What is a .asf file?

Advanced Systems Format File · Video · Microsoft · 1996

An .asf file is Microsoft's Advanced Systems Format, the streaming container that underlies WMV and WMA. The extension usually appears on Windows Media streams and older recordings.

Category
Video
Type
Binary
Is a .asf file safe to open? Mostly safe. ASF supports script commands inside the stream that legacy Windows Media Player could act on (like opening URLs), so play files from unknown sources in a modern player such as VLC.

What is a .asf file used for?

ASF is a container, not a codec: it was built for streaming over unreliable networks, with objects identified by GUIDs. A .wmv or .wma file is literally an ASF file whose contents are Windows Media video or audio, which is why all three share one signature.

The .asf extension itself mostly survives on legacy streams, screen recordings and camera output from the Windows Media era. Modern players handle it, and conversion to MP4 is straightforward.

What opens a .asf file?

The .asf format opens in the following apps, grouped by operating system. If one app does not work, try another from the same list.

Windows

  • Windows Media Player (legacy)
  • VLC
  • MPC-HC

macOS

  • VLC
  • Elmedia Player

Linux

  • VLC
  • ffmpeg

Open a .asf file step by step

  1. Confirm the file really is a .asf. Drop it into the WhatFileType identifier, which reads its signature in your browser without uploading anything.
  2. On Windows, open it with Windows Media Player (legacy) or VLC.
  3. On Mac, use VLC or Elmedia Player.
  4. On Linux, try VLC or ffmpeg.
  5. Still stuck? Convert the .asf to mp4, which opens more widely.

Why can't I open my .asf file?

Almost always because no installed app understands ASF. Install one of the apps above, or convert the file to a format your existing software already reads. If double-clicking opens the wrong program instead of nothing at all, the file association is set to the wrong app rather than the file being broken.

The other possibility is that the file is not really a .asf at all. Drop it into the file identifier to check it by its bytes instead of its name. Nothing is uploaded.

How to convert a .asf file

You can convert a .asf file to mp4, mkv, mp3 (audio) using a conversion tool or the export menu of an app that opens it.

What is the .asf file signature (magic bytes)?

A .asf file starts with the hex bytes 30 26 B2 75 8E 66 CF 11 A6 D9 00 AA 00 62 CE 6C, which read as 0&.u.f.......b.l in ASCII. Programs identify ASF by those bytes, not by the filename, so a renamed file still gives itself away.

These are the documented signatures for ASF. For a full breakdown, see the ASF (WMV / WMA) file signature page.

Documented magic-byte signatures for the .asf format
Hex signatureOffsetASCIINote
30 26 B2 75 8E 66 CF 11 A6 D9 00 AA 00 62 CE 6C00&.u.f.......b.lASF header GUID

See the full magic-numbers reference for every format.

Frequently asked questions

What is a .asf file?

An .asf file is Microsoft's Advanced Systems Format, the streaming container that underlies WMV and WMA. The extension usually appears on Windows Media streams and older recordings.

What is the difference between .asf, .wmv and .wma?

One container, three names. ASF is the container format; Microsoft used .wmv for video content and .wma for audio, and generic or streamed content kept the .asf extension.

How do I play an .asf file?

VLC plays ASF on all platforms. On older Windows, Windows Media Player opens it natively.

How do I convert .asf to MP4?

Run ffmpeg -i input.asf output.mp4, or use HandBrake. Expect re-encoding, since the old WMV codecs cannot be copied into an MP4 container.

Related formats

Sources

Details on this page were checked against authoritative references. How sources are ranked and what is deliberately left out is set out in the methodology.