Importing and Exporting—Wolfram Documentation (original) (raw)
- Functions
- BaseDecode
- BaseEncode
- BinaryDeserialize
- BinaryReadList
- BinarySerialize
- BinaryWrite
- ByteArrayFormat
- ByteArrayFormatQ
- CloudExport
- CloudImport
- CopyFile
- CopyToClipboard
- CreateArchive
- DataConnectionObject
- DeleteFile
- DeleteMissing
- Export
- ExportByteArray
- ExportString
- ExtractArchive
- FileConvert
- FileFormat
- FileFormatProperties
- FileFormatQ
- FileNames
- FileNameToFormatList
- Import
- ImportByteArray
- ImportedObject
- ImportString
- MIMETypeToFormatList
- Missing
- NotebookImport
- Paste
- ReadByteArray
- ReadList
- RenameFile
- SendMail
- SendMessage
- SetFileFormatProperties
- StringFormat
- StringFormatQ
- URLExecute
- WebExecute
- WebImage
- Write
- Related Guides
- Tech Notes
- Related Workflow Guides
- Functions
* BaseDecode
* BaseEncode
* BinaryDeserialize
* BinaryReadList
* BinarySerialize
* BinaryWrite
* ByteArrayFormat
* ByteArrayFormatQ
* CloudExport
* CloudImport
* CopyFile
* CopyToClipboard
* CreateArchive
* DataConnectionObject
* DeleteFile
* DeleteMissing
* Export
* ExportByteArray
* ExportString
* ExtractArchive
* FileConvert
* FileFormat
* FileFormatProperties
* FileFormatQ
* FileNames
* FileNameToFormatList
* Import
* ImportByteArray
* ImportedObject
* ImportString
* MIMETypeToFormatList
* Missing
* NotebookImport
* Paste
* ReadByteArray
* ReadList
* RenameFile
* SendMail
* SendMessage
* SetFileFormatProperties
* StringFormat
* StringFormatQ
* URLExecute
* WebExecute
* WebImage
* Write - Related Guides
* Listing of All Formats
* File Operations
* Free-Form & External Input
* Setting Up Input Interpreters
* WSTP
* API
* Geographic Data
* Financial & Economic Data
* Using the Wolfram Data Drop - Tech Notes
* Importing and Exporting Data
* Importing Graphics and Sounds
* Exporting Graphics and Sounds
* Importing and Exporting Files
* Streams and Low‐Level Input and Output
* Developing an Import Converter
* Developing an Export Converter
* Automatic Loading of Import and Export Converters - Related Workflow Guides
* Importing and Analyzing Data
- Functions
The Wolfram Language automatically handles hundreds of data formats and subformats—all 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
DataConnectionObject — connection to data stores (Amazon S3, Azure blobs, Dropbox, etc.)
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 »
"JPEG" ▪ "PNG" ▪ "TIFF" ▪ "Raw" ▪ "AVIF" ▪ "WebP" ▪ "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" ▪ "Markdown" ▪ "JPEG" ▪ "PNG" ▪ "X3D" ▪ "JSON" ▪ "WARC" ▪ ...
Print Formats »
"PDF" ▪ "EPS" ▪ "TeX" ▪ "TeXFragment" ▪ "SCT" ▪ "ACO" ▪ ...
Mail & Message Formats »
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" ▪ ...
Binary Formats »
"Bit" ▪ "Byte" ▪ "Integer16" ▪ "Real32" ▪ "TerminatedString" ▪ "UBJSON" ▪ ...
Wolfram Language Formats »
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
Related Tech Notes
▪
- Importing and Exporting Data ▪
- Importing Graphics and Sounds ▪
- Exporting Graphics and Sounds ▪
- Importing and Exporting Files ▪
- Streams and Low‐Level Input and Output ▪
- Developing an Import Converter ▪
- Developing an Export Converter ▪
- Automatic Loading of Import and Export Converters
Related Guides
▪