Skip to content
VmgBridge

Turn old .vmg phone messages into an SMS Backup & Restore XML file and a CSV — Step-by-step guide

Old Nokia, LG and Samsung phones saved text messages as .vmg files. VmgBridge reads them in your browser and writes an XML file in the layout of the SMS Backup & Restore app, so the messages can be restored to a modern Android phone, plus a CSV you can open in a spreadsheet. Nothing is uploaded.

What the sample produces

The sample is written by a script from a fixed list of messages, not from a real phone. A separate reader checks the XML record by record: date, direction, number, read flag and body, including a UTF-16 file, a quoted-printable body and characters that need XML escaping. A message cut short and a message with no date are rejected.

Records in the XML
3 sms elements, with a count attribute of 3
Protocol and type
protocol 0 for SMS; type 1 for received, 2 for sent
Dates
epoch milliseconds, read as UTC

How to use it

  1. On the old phone, use its own save or send-to-file option to export the messages as a .vmg file, then copy the file to your computer. Keep the .vmg name.
  2. Choose one or more .vmg files here. The result says how many messages each file holds and how many were read. Nothing is uploaded.
  3. Download the XML and restore it with SMS Backup & Restore on your Android phone. Open the CSV first if you want to check the messages before you restore.

Supported files

Reads vMessage 1.1 text exports, with the text in UTF-16LE (with or without a byte-order mark) or UTF-8. Bodies in quoted-printable or base64 are decoded. Only SMS text is converted: pictures, vCards, MMS parts and attachments are not read. Direction comes from the X-IRMC-BOX line when the file has one; otherwise a FROM or TEL line means received. Timestamps without a time zone are read as UTC. Files over 20 MB, files with more than 20,000 messages, and files cut short in the middle of a message are refused. The XML follows the field layout that SMS Backup & Restore documents, and an independent reader checks it, but it was not imported into the app on a phone. Restore a small test file first. Nothing is uploaded and the phone is not contacted.

Open VmgBridge

Compare VmgBridge with alternatives