Search for all pages containing Import
- See Also
-
Related Guides
- Importing and Exporting
- Scientific Data Analysis
- Graphics Importing & Exporting
- Signal Processing
- Raster Image Formats
- Importing & Exporting in Notebooks
- Audio Formats
- Creating & Importing Images
- XML Import & Export
- Multimedia Formats
- Mathematical Data
- Files
- Colors
- Video Creation
- Cryptography
- Creating & Importing Signals
- 3D Images
- External Operations
- Tabular Data Sources
- Listing Of Connections
- Video Computation: Update History
- Web Browser Automation
- Image Computation for Microscopy
- Natural Language Processing
- Tabular Processing Overview
- Wolfram Language File Formats
- Handling Live Mailboxes
- Accessing External Services & APIs
- Video Processing
- Audio Processing
- Internet and Computer Systems Data
- Speech Computation
- Neural Network Construction & Properties
- Audio Representation
- Workflows
- Tech Notes
-
- See Also
-
Related Guides
- Importing and Exporting
- Scientific Data Analysis
- Graphics Importing & Exporting
- Signal Processing
- Raster Image Formats
- Importing & Exporting in Notebooks
- Audio Formats
- Creating & Importing Images
- XML Import & Export
- Multimedia Formats
- Mathematical Data
- Files
- Colors
- Video Creation
- Cryptography
- Creating & Importing Signals
- 3D Images
- External Operations
- Tabular Data Sources
- Listing Of Connections
- Video Computation: Update History
- Web Browser Automation
- Image Computation for Microscopy
- Natural Language Processing
- Tabular Processing Overview
- Wolfram Language File Formats
- Handling Live Mailboxes
- Accessing External Services & APIs
- Video Processing
- Audio Processing
- Internet and Computer Systems Data
- Speech Computation
- Neural Network Construction & Properties
- Audio Representation
- Workflows
- Tech Notes


Details



- Import handles a large number of formats, each typically with many different possible elements. The possible formats are given in the list $ImportFormats, and in the guide "Listing of All Formats".
- The format of a file is by default deduced from the file extension in its name, or by FileFormat from its contents.
- In Import[source,…], source can be any of the following:
-
File["file"] or "file" file name, searched for on $Path URL["url"] or "url" HTTP, HTTPS or FTP URL "!prog" import data from a pipe CloudObject[…] a cloud object LocalObject[…] a local object DataConnectionObject[…] a connection object - Import elements determine which aspects of a file should be imported, and how they should be returned to the Wolfram Language.
- The following elements specifications can be given:
-
elem a single element {{elem1,elem2,…}} multiple elements {elem1,sublelem1,subelem2,…} subelements of subelements of elem1 - When specifying the format, the following elements specifications can be given:
-
{"format",elem} a single element {"format",{elem1,elem2,…}} multiple elements {"format",elem1,sublelem1,subelem2,…} subelements of subelements of elem1 - Elements supported by all formats are:
-
"Elements" a list of names of elements "Rules" rules for the values of all elements "Options" rules for options, settings, metainformation, etc. - If no element specification is given, every format defaults to the most suitable element. For instance, JPEG files are imported as Image objects by default.
- Use Import[source,…,options] to provide format-specific options that control the behavior of Import.
- By default, local files are searched for on $Path. Use the option Path->path to specify other directories.
- When importing a remote file, Import uses proxy and related settings specified in Preferences settings in the notebook front end or in your operating system environment.
- Import generates a dialog if interactive authentication is required.
- Import[url] accepts the following URLDownload options:
-
Authentication None authentication information to send CookieFunction Automatic function to apply to each cookie received ConnectionSettings Automatic speed and other settings for the connection FollowRedirects True whether to follow HTTP redirects Interactive True whether to allow interactive authentication dialogs TimeConstraint Infinity time to wait for a response VerifySecurityCertificates True whether to verify SSL security certificates - New formats can be manually registered in the Wolfram Language. See "Developing an Import Converter".
Examples
open all close allBasic Examples (3)
Import a "GIF" file:
Scope (4)
Import the complete array of data:
Extract information for one part of the array:
Import from a DataConnectionObject:
Generalizations & Extensions (2)
See Also
Export ImportString FileFormatProperties SetFileFormatProperties FileNameToFormatList MIMETypeToFormatList SemanticImport Interpreter $ImportFormats DataConnectionObject CloudImport NotebookImport FileConvert ReadList BinaryReadList ReadString ReadLine FileFormat FilePrint
Function Repository: ImportOnce ImportCSVToDataset ImageRead RegisterFormat
Related Guides
-
▪
- Importing and Exporting ▪
- Scientific Data Analysis ▪
- Graphics Importing & Exporting ▪
- Signal Processing ▪
- Raster Image Formats ▪
- Importing & Exporting in Notebooks ▪
- Audio Formats ▪
- Creating & Importing Images ▪
- XML Import & Export ▪
- Multimedia Formats ▪
- Mathematical Data ▪
- Files ▪
- Colors ▪
- Video Creation ▪
- Cryptography ▪
- Creating & Importing Signals ▪
- 3D Images ▪
- External Operations ▪
- Tabular Data Sources ▪
- Listing Of Connections ▪
- Video Computation: Update History ▪
- Web Browser Automation ▪
- Image Computation for Microscopy ▪
- Natural Language Processing ▪
- Tabular Processing Overview ▪
- Wolfram Language File Formats ▪
- Handling Live Mailboxes ▪
- Accessing External Services & APIs ▪
- Video Processing ▪
- Audio Processing ▪
- Internet and Computer Systems Data ▪
- Speech Computation ▪
- Neural Network Construction & Properties ▪
- Audio Representation
Related Workflows
History
Introduced in 1999 (4.0) | Updated in 2003 (5.0) ▪ 2004 (5.1) ▪ 2005 (5.2) ▪ 2007 (6.0) ▪ 2008 (7.0) ▪ 2014 (10.0) ▪ 2018 (11.3) ▪ 2020 (12.2) ▪ 2025 (14.2)
Text
Wolfram Research (1999), Import, Wolfram Language function, https://reference.wolfram.com/language/ref/Import.html (updated 2025).
CMS
Wolfram Language. 1999. "Import." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/Import.html.
APA
Wolfram Language. (1999). Import. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Import.html
BibTeX
@misc{reference.wolfram_2025_import, author="Wolfram Research", title="{Import}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/Import.html}", note=[Accessed: 07-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_import, organization={Wolfram Research}, title={Import}, year={2025}, url={https://reference.wolfram.com/language/ref/Import.html}, note=[Accessed: 07-August-2025]}