VCFConv

A dead simple tool built with Go to convert .vcf files exported from modern smartphones and modern applications to be compatible with old cellphones.

It cuts the names to be no more than 20 bytes(for non ASCII characters, it do not keep unwanted half letters at the end if it can’t fit the whole letter in the 20 byte limit), and expands vCards with multiple phone numbers to multiple vCards with the name numbered, also it replaces the plus (+) at the beginning of any phone number with a double zero (00).

This for example:

BEGIN:VCARD
VERSION:3.0
N:أبوعدس;أحمد;;;
FN:أحمد أبوعدس
TEL;TYPE=CELL:+9639XXXXXXXX
TEL;TYPE=CELL:+9639YYYYYYYY
TEL;TYPE=CELL:+9639ZZZZZZZZ
END:VCARD

will output this:

BEGIN:VCARD
VERSION:3.0
N:أبوعدس;أحمد;;;
FN:أحمد أبوع
TEL;TYPE=CELL:009639XXXXXXXX
END:VCARD
BEGIN:VCARD
VERSION:3.0
N:أبوعدس;أحمد;;;
FN:أحمد أبوع1
TEL;TYPE=CELL:009639YYYYYYYY
END:VCARD
BEGIN:VCARD
VERSION:3.0
N:أبوعدس;أحمد;;;
FN:أحمد أبوع2
TEL;TYPE=CELL:009639ZZZZZZZZ
END:VCARD
VCFConv tool image
The VCFConv tool screenshot

Code - Demo