Parse or generate a vCard contact

Parse repeated contact properties or generate one RFC 6350 vCard 4.0 contact.

freeworks offlinenothing uploaded
ToolvCard Parser
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Parsing unfolds continuation lines, removes optional property groups, preserves repeated EMAIL and TEL values, and unescapes structured text. Generation writes VERSION:4.0 with required FN, an N structure, CRLF endings, escaped values, and content lines folded at 75 UTF-8 octets.

  • Parse mode is the default for pasted contacts; generation requires FN because RFC 6350 makes the formatted name mandatory.

Worked example

Read repeated vCard 4.0 contact fields
Preserve both email properties while parsing the formatted name
Input
											Mode: parse
Input: BEGIN:VCARD
VERSION:4.0
N:Smith;Jane;;;
FN:Jane Smith
EMAIL:[email protected]
EMAIL:[email protected]
TEL;TYPE=cell:tel:+15550123
END:VCARD
										
Output
												Found 1 contact(s)

Name: Jane Smith
Email: [email protected]
Email: [email protected]
Phone: tel:+15550123

											

When to use this

Address-book migration, downloadable VCF contacts, and CRM imports preserve repeated email and telephone properties.

Edge cases

  • A folded FN line is joined before the display name is parsed.
  • Two EMAIL properties remain two values instead of the second overwriting the first.
  • An escaped semicolon inside N or ORG is text rather than a structured-field boundary.

References