Home › Formats

File format guides

What each format is actually for, what it can and cannot hold, where it opens, and the converter to reach for when it does not. Grouped by kind, with a one-line answer to "which one should I use" at the top of each group.

Images

Which one? Photo: JPG, or WebP for a website. Screenshot, logo, transparency: PNG. Logo that has to scale: SVG. Animation: GIF, or WebP where it is only for the web. Icon: ICO.

HEIC .heic

What iPhones shoot: half the size of JPG, opens on Apple devices, needs converting for almost everything else.

Compression
Lossy (HEVC)
Transparency
Yes
Opens on
Apple; Windows with a paid codec
Best for
Keeping originals on an iPhone

WebP .webp

Images on websites: 25 to 35 percent smaller than JPG or PNG, and every browser has read it since 2020.

Compression
Lossy or lossless
Transparency
Yes
Animation
Yes
Opens on
Browsers, current OSes; older apps no

PNG .png

Screenshots, logos, icons, anything with sharp edges or transparency. Exact pixels, big files for photos.

Compression
Lossless
Transparency
Yes
Animation
No (APNG aside)
Opens on
Everything

JPG .jpg

Photos. Small files that open on every device ever made; no transparency, and each re-save costs a little.

Compression
Lossy
Transparency
No
Animation
No
Opens on
Everything

AVIF .avif

The smallest photos on the web. Browsers yes, desktop programs and upload forms often no.

Compression
Lossy or lossless (AV1)
Transparency
Yes
Animation
Yes
Opens on
Browsers; patchy elsewhere

GIF .gif

Short looping animations. Only 256 colors, but it plays in every chat app, forum, and email client.

Compression
Lossless, 256 colors
Transparency
1-bit (on or off)
Animation
Yes
Opens on
Everything

SVG .svg

Shapes and curves instead of pixels: sharp at any size, editable as text, the right answer for a logo.

Compression
Vector, not pixels
Transparency
Yes
Animation
Yes (CSS or SMIL)
Opens on
Browsers and design apps

BMP .bmp

Windows' original bitmap: every pixel stored in full, no compression, enormous files.

Compression
None, usually
Transparency
No in practice
Animation
No
Opens on
Everything

ICO .ico

Favicons and Windows icons: the same picture at several sizes in one file.

Contents
Several PNG or BMP sizes
Transparency
Yes
Sizes
16 to 256 px
Used by
Browsers, Windows

Documents

Which one? Anything that has to print or look identical everywhere: PDF.

PDF .pdf

Documents that look the same on every screen and printer: text, images, and layout fixed on the page.

Contents
Text, images, vector graphics
Editable
Layout is fixed; text stays selectable
Opens on
Everything
Best for
Sending, printing, signing

Audio

Which one? Sharing: MP3. Editing: WAV. Keeping a lossless copy: FLAC. Came off an iPhone: M4A, convert if it will not play.

MP3 .mp3

Music and podcasts. Small files that play on everything made since the nineties.

Compression
Lossy
Typical size
1 MB per minute at 128 kbps
Plays on
Everything
Best for
Sharing, players, podcasts

WAV .wav

Uncompressed audio for recording, editing, and mastering. Perfect quality, huge files.

Compression
None
Typical size
10 MB per minute (CD quality)
Plays on
Everything
Best for
Editing, samples, masters

FLAC .flac

Lossless music at about half the size of WAV. Archives and audiophile libraries.

Compression
Lossless
Typical size
5 MB per minute
Plays on
Most players; not iTunes
Best for
CD rips, archives

M4A .m4a

AAC audio, the Apple-flavored MP3: better sound per megabyte, default on iPhones and iTunes.

Compression
Lossy (AAC) or lossless (ALAC)
Typical size
1 MB per minute
Plays on
Apple, Android, browsers
Best for
Voice memos, music from Apple

OGG .ogg

Open audio for games and streaming: Vorbis for music, Opus for voice. Not on Apple by default.

Compression
Lossy (Vorbis or Opus)
Typical size
0.7 MB per minute
Plays on
Browsers, Android, games
Best for
Game audio, Discord, calls

Video

Which one? Sharing or uploading: MP4. Came off an iPhone: MOV, convert to MP4 if it will not play. Web page: WebM. Keeping everything, subtitles included: MKV.

MP4 .mp4

The container that plays everywhere: phones, browsers, TVs, Discord, email attachments.

Usual codecs
H.264 video, AAC audio
Plays on
Everything
Subtitles
Limited
Best for
Sharing and uploading

MOV .mov

What iPhones and Macs record. Same codecs as MP4 inside, fewer players outside Apple.

Usual codecs
H.264 or HEVC, AAC
Plays on
Apple; Windows and web sometimes
Subtitles
Limited
Best for
Editing on a Mac

MKV .mkv

Holds any codec, several audio tracks, subtitles, and chapters. VLC loves it; phones and TVs often refuse it.

Usual codecs
Anything
Plays on
VLC, mpv, some TVs
Subtitles
Yes, many tracks
Best for
Archiving, rips

WebM .webm

Open web video from Google: browsers play it natively, Apple devices only sometimes.

Usual codecs
VP8 or VP9, Vorbis or Opus
Plays on
Browsers, Android; Apple partly
Subtitles
WebVTT
Best for
Web pages, screen recordings

AVI .avi

Microsoft's 1992 container. Still readable everywhere, but what is inside it is usually ancient.

Usual codecs
Anything, often DivX or Xvid
Plays on
Windows, VLC; browsers no
Subtitles
External files only
Best for
Old recordings, camera output

Subtitles

Which one? Handing the file to someone, or uploading it: SRT. Video on your own web page: VTT. Styling, positioning, or karaoke: ASS.

SRT .srt

The plain-text subtitle file everything accepts: a number, a timecode, the line, a blank line.

Timing
hh:mm:ss,mmm
Styling
None
Plays in
Everything
Best for
Uploads, players, editing by hand

VTT .vtt

The subtitle format HTML video requires: SRT with a header, periods in the timecodes, and optional styling.

Timing
hh:mm:ss.mmm
Styling
Cue settings and CSS
Plays in
Browsers, most players
Best for
Video on a web page

ASS .ass

Advanced SubStation Alpha: styled, positioned, karaoke-timed subtitles. What fansubs are made of.

Timing
h:mm:ss.cc (centiseconds)
Styling
Full: fonts, colors, position, effects
Plays in
VLC, mpv, MPC; browsers no
Best for
Styled subtitles, karaoke, signs

Game textures

Which one? Shipping in a game: DDS with mipmaps. Source art for an engine or a mod: TGA or PNG.

DDS .dds

Game textures: compressed in a form the graphics card reads directly, with mipmaps built in.

Compression
BC1 to BC7, or none
Transparency
Yes (BC3, BC7, RGBA)
Mipmaps
Yes
Used by
Game engines, modding

TGA .tga

Simple lossless textures with a clean alpha channel; engines and modding tools accept it, browsers do not.

Compression
None or RLE (lossless)
Transparency
Yes, 8-bit alpha
Mipmaps
No
Used by
Unity, Unreal, Source, Blender