Online SQL to vCard Converter

Need Custom Conversion?

Paste MySQL INSERT … VALUES statements (validated the same way as the Next.js app). Output: vcf.

Click to select a .sql or text file

# Field Name Data Type Max Size Key Include Trim NULL empty
Paste valid INSERT SQL to load columns.

Overview & guides

Transform SQL into vCard efficiently with our SQL to vCard Converter, perfect for contact files.

Perfect for vCard compatibility, this converter guarantees secure and accurate conversions, simplifying cross-platform sync for all users.

Provide SQL data via text input or file upload. Pick vCard as the output format, and you’ll receive your converted file quickly.

Your converted vCard file is ready to download. Save it to your device for immediate use.

  • Step 1: Enter SQL Query: Begin by inputting your SQL query. Ensure that the SQL code follows the correct syntax and adheres to the required format for accurate conversion.
  • Step 2: Map SQL Fields: Proceed to the 'Output Options' section to map SQL fields to vCard fields. This step is crucial for accurately representing contact information in the resulting VCF file.
  • Step 3: Click the 'Convert' Button: Once your SQL query is entered and the fields are mapped, click the 'Convert' button. This initiates the conversion process, transforming your SQL data into a structured VCF (vCard) format.
  • Step 4: Review Output Data: When the conversion is complete, review the resulting VCF data. Ensure that all contact details are accurately represented in the vCard format.
  • Step 5: Download the VCF File: After reviewing the output data, you can download the converted VCF file to your device for further usage.
  • Step 6: Explore Additional Features: Utilize any additional features provided by the tool, such as accessing example SQL data for demonstration purposes and resetting input/output data as required.

1. What is SQL to VCF conversion?

The SQL to VCF conversion feature on ConversionTab allows users to seamlessly transform SQL data into VCF (vCard) format, commonly used for contact information storage.

2. What are the input options for SQL data?

ConversionTab offers users two convenient ways to input their SQL data:

  • Text Tab: Users can manually enter SQL data as a valid string in this tab.
  • File Tab: Users can upload their SQL file through the 'Drop/Browse File' feature, making it easy to work with existing data.

3. What happens after entering SQL data?

Upon entering SQL data, users are directed to the 'Output Options' section, where the crucial process of mapping SQL attributes to vCard fields takes place. Accurate mapping is essential for ensuring that the resulting vCard file contains the desired contact information.

4. What are the special requirements for mapping Email, Phone, and Address?

Mapping Email, Phone, and Address attributes involves specific requirements to achieve correct conversions:

  • Email: Users must select both the attribute type (e.g., Email Work) and the corresponding vCard field (e.g., EMAIL). This ensures that the email address is correctly categorized.
  • Phone: Similar to Email, Phone mapping requires users to specify both the attribute type (e.g., Phone Home) and the desired vCard field (e.g., TEL).
  • Address: Address mapping involves assigning the attribute type (e.g., Address Home) to the appropriate vCard field (e.g., ADR).

5. What is the 'Include' column?

The 'Include' column is a crucial part of the conversion process. It provides a checkbox for each vCard field. Users can check or uncheck these checkboxes to control whether specific vCard fields are included or excluded in the resulting vCard file. This gives users full control over which information is included based on their preferences.

6. What are the auto-mapped columns and their formats?

ConversionTab provides the convenience of auto-mapped columns and their corresponding formats:

#VCF FieldMappingFormat
0UIDUIDUnique Identifier
1TITLETitleTitle of Contact
2FNFull NameFull Name of Contact
3TELPhone VoiceVoice Phone Number
4NNName Components
5EMAILEmail WorkEmail Address (Work)
6CATEGORIESCATEGORIESContact Categories
7ADRAddress HomeHome Address
8URLURLWebsite URL
9NOTENOTEAdditional Notes
10ORGOrganizationOrganization Name
11BDAYBirthdayDate of Birth (YYYYMMDD)
12GENDERGENDERGender Information
13ROLEROLEContact's Role
14IMPPIMPPInstant Messaging Protocol
15GEOGEOGeographical Coordinates

This auto-mapping simplifies the conversion process by recognizing and configuring common attributes automatically.

7. How can I handle multi-valued fields like multiple email addresses?

For multi-valued fields, such as multiple email addresses, ConversionTab provides two methods:

  • Combine in a Single Attribute: Users can include multiple values in a single SQL attribute, separating them using a specified separator (e.g., Email1, Email2, Email3).
  • Add Rows: Alternatively, users can click the '+' button to add additional rows for each value.

This flexibility ensures that multi-valued fields are handled efficiently.

8. How do I get the VCF output?

Once the mapping and settings are complete, users can initiate the conversion process by clicking the 'Convert' button. The resulting VCF data is displayed in a textarea, providing users with two options:

  • Copy: Users can copy the generated VCF data for use elsewhere.
  • Download: Users can download the VCF file, with the option to specify a custom file name if desired.

This flexibility ensures that users can choose the most suitable method for accessing their converted data.

9. Is there an example XML and a way to reset the input/output data?

ConversionTab provides additional features to enhance the user experience:

  • Example XML: Users can access a sample XML by clicking the 'Example' button, which populates the text area with sample data, making it easier to understand the conversion process.
  • Reset Functionality: To clear input and output data, users can utilize the 'Clear' button, ensuring a clean slate for new conversions or adjustments.

Key Features and Benefits

🔒

Privacy & Security

All processes happen directly on your device, ensuring complete privacy and security for your data.

Speed & Efficiency

Experience fast and efficient processing, optimized for modern devices and browsers.

🎛️

Versatile Tools

Convert, view, and edit files of various formats including text, images, videos, and more.

🌐

Cross-Platform Compatibility

Access our tools from any modern browser without the need for installations.

💻

Browser-Based Processing

All processing happens directly in your browser. No uploads are required, ensuring speed and security.

No Installation Needed

Our tools are entirely web-based, so you can get started instantly without downloading any software.