.ANI

ANI File

Windows Animated Cursor
Ask a question
QUICK ANSWER

An ANI file is a Windows animated mouse cursor - a sequence of cursor frames played with timing data, the same idea as the classic spinning hourglass. To use one, right-click it and choose Install, or go to Settings > Mouse > Additional mouse settings > Pointers and browse to it. The format is Windows-only, so convert to GIF if you need to view the animation elsewhere.

Developer: Microsoft Category: System Files MIME: application/x-navi-animation
OPENS ON Windows
Related: .NOMEDIA · .DLL · .TMP · .LNK

On this page

19k+ extensions indexed
Last reviewed Aug 7, 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 ANI file format?

The .ani file is a Windows Animated Cursor - the animated counterpart to a static .cur file. Developed by Microsoft and introduced with Windows 95 in 1995, it stores a sequence of cursor frames that the operating system cycles through as a mouse pointer animation. The classic example is the spinning hourglass displayed while Windows processed a task.

Internally, .ani uses the RIFF container format - the same binary container family as .wav audio and .avi video. The file opens with the four bytes RIFF at offset 0, a little-endian file size at offset 4, and the form type ACON (ANImated CONtent) at offset 8. An anih chunk carries the animation header, storing the frame count, step count, and default display rate. Optional rate and seq chunks enable per-frame timing (in 1/60-second jiffies) and non-sequential playback order. The cursor images themselves live in a LIST of icon sub-chunks, each a complete .ico-compatible cursor frame that includes a hotspot coordinate.

Each frame supports color depths from 1-bit monochrome up to 32-bit RGBA with an 8-bit alpha channel, allowing smooth anti-aliased pointer edges. Frame dimensions are typically 32×32 or 48×48 pixels, with support up to 256×256 for high-DPI displays. There is no compression at the container level. The format is Windows-exclusive and has been structurally unchanged since the mid-1990s. To apply a custom .ani pointer, open Windows Pointer Settings in the Control Panel.

Security & safety

RISK: MEDIUM

Most .ani files are harmless animated pointers, but the format has a notable security history: a Windows ANI parsing flaw (the 'anih' header) was exploited in the wild (MS05-002 in 2005 and MS07-017/CVE-2007-0038 in 2007) for remote code execution simply by loading a malicious cursor. Those specific bugs are long patched, but the lesson stands - only install cursor packs from reputable sources and keep Windows updated. A cursor from an untrusted ZIP is low-but-nonzero risk on an unpatched system.

Format details

in a nutshell
FULL NAMEWindows Animated Cursoraka Animated cursor, RIFF ANI cursor
DEVELOPERMicrosoftsince 1995 (Windows 95 - animated mouse pointers)
CATEGORYSystem Files
MIME TYPEapplication/x-navi-animation
TYPERIFF container of animation frames (binary)
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
52494646
ASCII
RIFF
An ANI is a RIFF file: bytes 0-3 are "RIFF", 4-7 a little-endian size, and bytes 8-11 the form type "ACON" (ANImated CONtent). Frames are stored as a LIST of "icon" chunks, each holding a complete .cur/.ico image. The "anih" chunk carries the animation header.

Programs that open ANI files

Windows5 apps
IcoFX Paid Open and edit the animated cursor's frames; also creates .ani from images.
RealWorld Cursor Editor Free Open the .ani to preview, edit frames/timing, and export. Free, purpose-built for cursors.
Windows Pointer Settings Built-in Settings > Bluetooth & devices > Mouse > Additional mouse settings > Pointers tab > Browse, pick the .ani to assign it. Or right-click the .ani > Install.
Axialis CursorWorkshop Paid Professional cursor editor: open, animate, and build .ani cursors.
XnView MP Free Open the .ani to view its frames (viewing only, not for assigning as a pointer).

Technical details

deep spec
Container formatRIFF (Resource Interchange File Format) with form type ACON (ANImated CONtent)
Magic bytes0x52 0x49 0x46 0x46 ("RIFF") at offset 0; "ACON" at offset 8
Byte orderLittle-endian throughout
Animation header chunk"anih" chunk stores frame count, step count, default display rate, frame width/height, bit count, and flags
Per-frame timingOptional "rate" chunk: one DWORD per step measured in jiffies (1/60 second each); falls back to the anih header rate if absent
Frame sequencingOptional "seq" chunk allows non-sequential or repeated frame playback order independent of storage order
Frame storage structureLIST chunk of "icon" sub-chunks; each sub-chunk holds a complete CUR/ICO-format cursor image
Color depth per frame1, 4, 8, 24, or 32 bits per pixel; 32 bpp includes an 8-bit alpha channel for smooth anti-aliased pointer edges
HotspotEach frame embeds a hotspot (x, y) coordinate marking the pixel that registers as the active click point
Frame dimensionsTypically 32x32 or 48x48 px; up to 256x256 px supported for high-DPI displays
CompressionNone at the RIFF container level; individual frames are stored as uncompressed BMP-based CUR/ICO bitmaps
Typical file size5 KB to 200 KB depending on frame count and color depth
MIME typeapplication/x-navi-animation; also recognised as image/x-ani
Platform supportWindows-only natively; used directly by the Windows cursor subsystem; no built-in support on macOS or Linux
Released1995 (Windows 95 - animated mouse pointers)
Latest versionStable since the 1990s; format unchanged
Specificationlearn.microsoft.com

ANI conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with ANI files. Be specific - include your system and software version.
No account needed · answers usually within a day
坂
坂田12 d agoUNANSWERED
.ani プログラム規定値を 不明なアプリ から変更したのですが、元に戻すには?
Waiting for an answer

Frequently asked questions

How do I install an ANI animated cursor on Windows?
Right-click the .ani and choose Install, or go to Settings > Mouse > Additional mouse settings > Pointers, select a pointer role, click Browse, and pick the .ani. Click Apply.
How do I open or preview an ANI file?
Use RealWorld Cursor Editor or IcoFX to see the frames and animation, or XnView MP to view it. Windows itself previews it when you Browse for a pointer in mouse settings.
How do I convert an ANI cursor to a GIF?
Extract the frames in RealWorld Cursor Editor or IcoFX and save them as an animated GIF, or use an online ANI-to-GIF converter. This lets you view the animation outside Windows.
What's the difference between an ANI and a CUR file?
A .cur is a single static cursor; an .ani is an animated cursor - a sequence of cursor frames with timing, wrapped in a RIFF/ACON container. ANI is the animated version of CUR.
Can I use an ANI cursor on Mac or Linux?
Not directly - .ani is a Windows-only pointer format. You can view its frames cross-platform (XnView) or convert it to GIF, but assigning it as a system cursor only works on Windows.
How do I make my own animated cursor?
Use RealWorld Cursor Editor (free), IcoFX, or Axialis CursorWorkshop: import a sequence of images or icons, set the hotspot and per-frame timing, and save as .ani.

References

1Microsoft Learn - About Cursors (Win32)learn.microsoft.com
2Microsoft Learn - ANI / RIFF animated cursor structurelearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.DATProgram Data File (generic)
4.PARTPartial Download File
5.RPMSGRestricted Permission Message
6.BINCD/DVD Disc Image (BIN/CUE)
7.EXEWindows Executable (Portable Executable)
8.JSONJavaScript Object Notation file
9.DLLDynamic Link Library
10.ICSiCalendar data file

Related extensions

.NOMEDIAAndroid No-Media Marker File
.DLLDynamic Link Library
.TMPTemporary File
.LNKWindows Shell Link (Shortcut)
.PKGmacOS Installer Package
.ETLEvent Trace Log

Free file tools

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

Open the toolbox

Browse file extensions A-Z