Importing and Exporting

The Wolfram Language automatically handles hundreds of data formats and subformatsall coherently integrated through the Wolfram Language's uniform use of symbolic expressions. For each particular format, the correspondence between representations inside and outside the Wolfram Language can be specified at any level of detail using the Wolfram Language's general data elements mechanism.

Import import from files and URLs

Export export data, graphics, and expressions to files

ImportString, ExportString import, export string data

ImportByteArray, ExportByteArray import, export binary data

$ImportFormats, $ExportFormats lists of supported formats

FileFormat, FileFormatQ try to determine the format of a file

StringFormat  ▪  StringFormatQ  ▪  ByteArrayFormat  ▪  ByteArrayFormatQ

FileFormatProperties  ▪  SetFileFormatProperties  ▪  FileNameToFormatList  ▪  MIMETypeToFormatList

NotebookImport import specified elements from a notebook

SendMail  ▪  SendMessage  ▪  CopyToClipboard  ▪  Paste

CreateArchive, ExtractArchive create, extract compressed file archives

CloudImport  ▪  CloudExport  ▪  URLExecute  ▪  WebExecute  ▪  WebImage

Basic Formats »

"Table"  ▪  "List"  ▪  "String"  ▪  "Text"  ▪  "Binary"  ▪  ...

Raster Image Formats »

"GIF"  ▪  "JPEG"  ▪  "TIFF"  ▪  "PNG"  ▪  "Raw"  ▪  "BMP"  ▪  "OpenEXR"  ▪  ...

Vector Graphics Formats »

"SVG"  ▪  "EPS"  ▪  "PDF"  ▪  "DXF"  ▪  ...

3D Geometry & Modeling Formats »

"PLY"  ▪  "DAE"  ▪  "OFF"  ▪  "OBJ"  ▪  "Maya"  ▪  "POV"  ▪  "LWO"  ▪  "STL"  ▪  ...

Audio Formats »

"WAV"  ▪  "AIFF"  ▪  "MP3"  ▪  "MIDI"  ▪  "SND"  ▪  "FLAC"  ▪  ...

Multimedia Formats »

"MP4"  ▪  "QuickTime"  ▪  "AVI"  ▪  "Matroska"  ▪  "Ogg"  ▪  ...

Tabular & Spreadsheet Formats »

"Table"  ▪  "CSV"  ▪  "TSV"  ▪  "XLS"  ▪  "ODS"  ▪  "SXC"  ▪  ...

JSON-Related Formats »

"RawJSON"  ▪  "ExpressionJSON"  ▪  "JSON"  ▪  "UBJSON"  ▪  "BSON"  ▪  ...

External Language Formats

"PythonExpression"  ▪  "JavaScriptExpression"

Database Formats »

"MDB"  ▪  "DBF"  ▪  "DIF"  ▪  "XLS"  ▪  "BSON"  ▪  ...

RDF- and SPARQL-Related Formats

"Turtle"  ▪  "NTriples"  ▪  "JSONLD"  ▪  "RDFXML"  ▪  "SPARQLQuery"  ▪  ...

Scientific & Medical Data Formats »

"HDF5"  ▪  "NASACDF"  ▪  "FITS"  ▪  "DICOM"  ▪  "EDF"  ▪  ...

Chemical & Biomolecular Formats »

"MOL"  ▪  "SDF"  ▪  "SMILES"  ▪  "PDB"  ▪  "GenBank"  ▪  "FASTA"  ▪  ...

Geospatial Formats »

"SHP"  ▪  "USGSDEM"  ▪  "GTOPO30"  ▪  "SDTS"  ▪  "TIGER"  ▪  "SP3"  ▪  "GeoJSON"  ▪  ...

Numerical Data Formats »

"XPORT"  ▪  "MAT"  ▪  "MTX"  ▪  "HarwellBoeing"  ▪  "MPS"  ▪  ...

Mathematical Data Formats »

"Graphlet"  ▪  "DOT"  ▪  "GraphML"  ▪  "Graph6"  ▪  "MAT"  ▪  "MTX"  ▪  ...

System Modeling Formats »

"MO"  ▪  "SMA"  ▪  "SME"  ▪  "FMU"  ▪  "MCTT"  ▪  ...

Machine Learning Formats

"WMLF"  ▪  "WLNet"  ▪  "MXNet"  ▪  "HDF5"  ▪  "JSON"  ▪  "CSV"

Document Formats »

"CDF"  ▪  "PDF"  ▪  "HTML"  ▪  "NB"  ▪  "RTF"  ▪  "TeX"  ▪  "Text"  ▪  ...

Web Formats »

"HTML"  ▪  "HTMLFragment"  ▪  "GIF"  ▪  "JPEG"  ▪  "PNG"  ▪  "X3D"  ▪  "JSON"  ▪  "WARC"  ▪  ...

Print Formats »

"PDF"  ▪  "EPS"  ▪  "TeX"  ▪  "TeXFragment"  ▪  "SCT"  ▪  "ACO"  ▪  ...

Mail & Message Formats »

"EML"  ▪  "MBOX"  ▪  "RSS"

XML Formats »

"XML"  ▪  "XHTML"  ▪  "MathML"  ▪  "SVG"  ▪  "X3D"  ▪  "ODS"  ▪  ...

Systems & Utility Formats »

"C"  ▪  "Directory"  ▪  "ApacheLog"  ▪  "Ini"  ▪  "VCF"  ▪  "ICS"  ▪  "RSS"  ▪  ...

Network-Related Formats

"HTTPRequest"  ▪  "HTTPResponse"  ▪  "WARC"  ▪  "PCAP"

Compression & Archive Formats »

"Base64"  ▪  "BZIP2"  ▪  "GZIP"  ▪  "TAR"  ▪  "UUE"  ▪  "ZIP"  ▪  "WDX"  ▪  ...

Game Formats

"PGN"

Binary Formats »

"Bit"  ▪  "Byte"  ▪  "Integer16"  ▪  "Real32"  ▪  "TerminatedString"  ▪  "UBJSON"  ▪  ...

Wolfram Language Formats »

"WL"  ▪  "NB"  ▪  "WXF"  ▪  "MX"

File Operations »

FileNames list names of files or directories at any depth in the file system

CopyFile  ▪  RenameFile  ▪  DeleteFile  ▪  ...

File Format Conversion

FileConvert convert the content of a file from one format to another

Lower-Level Functions

ReadList  ▪  Write  ▪  ReadByteArray  ▪  BinaryReadList  ▪  BinaryWrite

BinarySerialize  ▪  BinaryDeserialize  ▪  BaseEncode  ▪  BaseDecode

Handling Missing Data

Missing symbolic representation of missing data

DeleteMissing delete all missing data

Handling Raw Imported Data

ImportedObject raw imported data with no special Wolfram Language representation