.STG

STG File

Microsoft ActiveSync Backup File
Ask a question
QUICK ANSWER

An STG file is a backup of a Windows Mobile or Pocket PC device, created by Microsoft ActiveSync versions 3.x through 4.1. ActiveSync removed its backup feature in version 4.2, so no modern software can restore an STG file. To access one today you need a Windows XP machine with ActiveSync 4.0 or 4.1 installed.

Developer: Microsoft Corporation Category: Backup Files MIME: application/octet-stream
OPENS ON Windows
Related: .BUP · .BAK · .SKB · .SET

On this page

19k+ extensions indexed
Last reviewed Jul 2, 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 STG file format?

An .stg file is a proprietary binary backup created by the Backup/Restore wizard in Microsoft ActiveSync versions 3.x through 4.1. When a Windows Mobile or Pocket PC device was connected to a Windows XP PC running ActiveSync, the wizard could dump the device's entire data - contacts, calendar entries, e-mails, photos, application data, and system settings - into a single .stg file.

The format is entirely undocumented. Microsoft never published a specification, and no third-party tool has successfully reverse-engineered it for general-purpose extraction. The only supported way to restore an .stg file was using ActiveSync 4.0 or 4.1 on Windows XP; ActiveSync 4.2 removed the Backup/Restore feature entirely, and neither its successor (Windows Mobile Device Center for Vista/7) nor any current tool reads .stg files.

As a result, .stg files represent a stranded data format: any personal data archived before 2006-2007 is effectively inaccessible without a period-accurate Windows XP installation running ActiveSync 4.0 or 4.1. Microsoft's Backup File Restorer utility (KB article 4220) is no longer available from official download sources.

ActiveSync was superseded by Windows Mobile Device Center (2007) for Vista and Windows 7, and the Windows Mobile platform was discontinued in favour of Windows Phone 7 (2010). No version of the .stg backup format was carried forward to any successor platform.

Security & safety

RISK: LOW

STG files are passive binary backups from an obsolete platform. The format is not an active malware vector. Caution: searching for 'STG file opener' may surface fake utilities - no real modern openers exist.

Format details

in a nutshell
FULL NAMEMicrosoft ActiveSync Backup Fileaka ActiveSync storage file, Windows Mobile backup
DEVELOPERMicrosoft Corporationsince circa 2000, with Microsoft ActiveSync 3.x
CATEGORYBackup Files
MIME TYPEapplication/octet-stream
TYPEProprietary binary backup container for Windows Mobile/Pocket PC device data
This extension is also used by…
  • SmartGen genealogy software backup - SmartGen (genealogy application) uses .stg extension for its data backup files.
  • Secure Token Generator key file - Some security token and two-factor authentication tools use .stg for stored key data.

Programs that open STG files

Windows1 app
Microsoft ActiveSync 4.0 / 4.1 (legacy) Free Requires Windows XP. Install ActiveSync 4.0 or 4.1, connect your device (or use the Backup Restore wizard standalone), and restore the STG file. Note: URL may no longer be active on Microsoft servers.

Technical details

deep spec
EncodingBinary
Byte orderLittle-endian (consistent with Windows CE / Windows Mobile platform)
ContainerProprietary Microsoft binary - format undocumented and not publicly reverse-engineered
Magic bytesNone publicly documented
EncryptionNone documented
Typical size1 MB - 100 MB (full device backup including contacts, messages, photos, and application data)
Created byActiveSync Backup/Restore wizard (ActiveSync versions 3.x through 4.1 only)
Restore compatibilityActiveSync 4.0 or 4.1 on Windows XP only - no later software reads .stg files
Feature removalActiveSync 4.2 dropped Backup/Restore entirely; .stg creation and restoration no longer possible in version 4.2 and later
Host platformWindows XP; not supported on Windows Vista or later even with Windows Mobile Device Center
Device platformWindows Mobile and Pocket PC devices (not Windows Phone 7/8 or later)
Data scopeContacts, calendar entries, e-mail, photos, application data, and device settings
Format statusStranded - effectively inaccessible without a Windows XP environment running ActiveSync 4.0 or 4.1; no official extraction tools remain available
Releasedcirca 2000, with Microsoft ActiveSync 3.x
Latest versionActiveSync 4.1 (last version with backup/restore via STG; feature removed in 4.2)

STG conversions

Community Q&A

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

Frequently asked questions

How do I open an STG file?
You need Microsoft ActiveSync version 4.0 or 4.1 on a Windows XP computer. There is no modern software that can open STG files - the format is proprietary and ActiveSync's backup feature was removed in version 4.2.
Can I recover contacts from an STG backup?
Only if you have access to a Windows XP machine with ActiveSync 4.0 or 4.1. Restore the STG to a device or emulator and then export contacts to vCard or CSV from there.
Is ActiveSync still available?
Microsoft ActiveSync is discontinued and no longer available for download from official Microsoft servers. It was replaced by Windows Mobile Device Center for Vista/7, which is also discontinued. Neither product is supported on modern Windows 10/11.
What replaced the STG backup format?
Nothing directly - Microsoft removed the backup feature in ActiveSync 4.2 without a replacement for that specific format. Windows Phone 7/8 used cloud-based backup instead.

References

1Microsoft - ActiveSync download page (archived)www.microsoft.com
2fileinfo.com - STG extensionfileinfo.com

Keep exploring

across the database

Top extensions this week

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

Related extensions

.BUPDVD IFO Backup File
.BAKBackup File (generic)
.SKBSketchUp Backup File
.SETMicrosoft Backup File Set
.BAK~AbiWord auto-saved document file
.BACKUPBackup File (generic)

Free file tools

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

Open the toolbox

Browse file extensions A-Z