Instructions for importing and exporting files in Sketch

Sketch graphics software provides a very convenient way of importing / exporting files. Do you know how to do it? Let's learn how to import & export files in Sketch.

Import the file into Sketch

The easiest way to import files into Sketch graphic software is to drag and drop them into canvas or dock icons. You can enter:

  • Photos of PNG, JPG, TIFF and WebP bitmaps
  • SVG and EPS files
  • SVG Code (copy & paste code to create new layer)
  • AI and PSD files (limited support, only as a flat layer)

Export file in Sketch

The fastest way to export your work from Sketch is to choose Share> Export ... in the menu or press + + Eto open the Export dialog box . Select the data you want to export, then click Export to open MacOS Save.

Sketch exports everything as PNG in real size (default 1x). To change these settings or export from 2 sizes or formats, you need to set the Export Presets in Inspector.

You can also select any layer in the Layer List and drag it to the desktop to export as PNG (or hold while dragging to export as PDF). Alternatively, you can select a class, then press + E.

Finally, you can export a PDF document with all its Artboards by selecting File> Export Artboards to PDF …. You can choose the order of Artboards exports via Preferences.

How to create and use settings before exporting

To export a layer in a document in different sizes or formats, select that layer> click the Make Exportable panel at the bottom of the Inspector. You will see the pre-export settings here with a few options:

Instructions for importing and exporting files in Sketch
  • Size : Choose a size from the drop-down menu or create your own by typing the number directly in the Size field. Feel free to increase (2x, 3x ...) or decrease (0.5x, 0.25x) the ratio or determine the specific height / width in pixels.
  • Prefix / Suffix:  If you publish your work at different rates, you need to use the drop-down menu to select a prefix or suffix. You can customize them by typing in the text field before (prefix) or after (suffix) the ellipsis represents the file name.
  • Format : Choose a format from the dropdown menu.
  • Remove presets : Click Xto delete this export preset.
  • Add presets : Click +to add other presets for this layer to the export settings.
  • Preset Sets : Click the Preset button to select a set of presets. You can also create new Preset sets and remove them here.
  • Create a layer : Click the knife icon to create a thin layer on the selected layer with predefined settings.
  • Export Selected ... : Click this button to export the layer using the above settings.
  • Preview : The preview window shows you how the layer will look when exported. You can also drag & drop it directly onto another desktop or app for quick export.
  • Sharing : Another quick export option is to click the Sharing button for standard options to share via Mail, Messages, AirDrop ...

How to use Slice

Slice is a type of layer you can draw on a canvas that can export everything inside it as an image. You can select, resize, move, hide or group them together like other layers.

How to insert a slice?

Choose Insert> Slice or click S, then, click & drag anywhere on the canvas to draw a new slice. Alternatively, click on any layer to create a slice around it.

Tip: When creating a slice, give its descriptive name in the Layer List. Sketch will use it as the file name when exporting. If you include the / in the name, Sketch will use whatever is written before it as the folder name, everything behind is the file name in that folder.

Like other layers, you can set multiple output settings as slices.

Customizing slices

Slice has a few special options located at the Inspector. The Trim Transparent Pixels checkbox will delete any empty pixels in the slice around the edges of the content.

If you place a slice in the group, the Export Group Contents Only check box makes sure that any slice export only covers the contents of that slice group.

Check Background Color and select the background color for the slice.

How to export CSS and SVG code

Select from a layer that becomes in the document, Ctrl+ click and select Copy CSS Attributes to copy any style information of them as CSS code to the clipboard. For example, this is the CSS of a simple shape:

/ * Rectangle: * /
background: # 6DD400;
border-radius: 5px;

Copying the SVG code is similar. Select a shape layer, Ctrl + click on it, then choose Copy SVG Code .

Sketch file export format supported

  • Bitmap: PNG, JPG, TIFF, WebP
  • Vector: SVG, PDF, EPS

How to print Artboard or Slice

Choose File> Print> Click Artboard or Slice you want to print.

Above is a basic guide on how to import / export files in Sketch . Hope the article is helpful to you.

Leave a Comment

Solving Microsoft Teams Hard Error (2026 Guide)

Solving Microsoft Teams Hard Error (2026 Guide)

Tired of Microsoft Teams crashing with "Hard Error"? This 2026 guide delivers step-by-step fixes for seamless video calls and chats. Clear cache, update, reinstall—solve it now!

How to Fix Microsoft Teams DLL Missing Errors (msvcp140.dll)

How to Fix Microsoft Teams DLL Missing Errors (msvcp140.dll)

Tired of Microsoft Teams crashing due to msvcp140.dll missing errors? Discover proven, step-by-step fixes to restore smooth video calls and chats. Works on Windows 10/11 with latest updates.

How to Fix Microsoft Teams Meeting ID Not Working

How to Fix Microsoft Teams Meeting ID Not Working

Tired of Microsoft Teams Meeting ID not working? Get instant fixes for join errors on desktop, mobile, or web. Step-by-step troubleshooting with latest updates to rejoin meetings seamlessly. No tech skills needed!

How to Fix Microsoft Teams Welcome Error Startup Loop

How to Fix Microsoft Teams Welcome Error Startup Loop

Struggling with Microsoft Teams "Welcome Error" startup loop? Discover step-by-step fixes to resolve the issue quickly. Clear cache, reset app, and more for seamless Teams experience. Updated with latest solutions.

How to Fix Microsoft Teams Disabled Error Account Blocked

How to Fix Microsoft Teams Disabled Error Account Blocked

Stuck with Microsoft Teams "Disabled Error" Account Blocked? Discover proven, step-by-step solutions to fix the issue fast, regain access, and prevent future blocks. No tech skills needed!

How to Use Microsoft Teams Copilot for AI-Powered Meetings

How to Use Microsoft Teams Copilot for AI-Powered Meetings

Master how to use Microsoft Teams Copilot for AI-powered meetings. Step-by-step guide with latest tips to generate recaps, answer questions, and boost productivity effortlessly. Transform your Teams experience today!

Microsoft Teams Breakout Rooms Tutorial for Beginners (2026)

Microsoft Teams Breakout Rooms Tutorial for Beginners (2026)

Master Microsoft Teams Breakout Rooms with this beginner-friendly tutorial. Step-by-step guide to creating, managing, and optimizing breakout rooms for dynamic 2026 meetings and workshops. Boost engagement now!

Solving Microsoft Teams Recording Save Error

Solving Microsoft Teams Recording Save Error

Stuck with Microsoft Teams Recording Save Error? Get instant, step-by-step fixes for saving recordings effortlessly. Proven solutions for all common issues – no tech skills needed!

How to Create a Wiki Page in Microsoft Teams

How to Create a Wiki Page in Microsoft Teams

Discover how to create a Wiki page in Microsoft Teams effortlessly. This ultimate guide covers step-by-step instructions, tips, and best practices to boost your team's knowledge sharing and productivity. Perfect for beginners!

How to Fix Microsoft Teams Error S Screen

How to Fix Microsoft Teams Error S Screen

Stuck on Microsoft Teams "Error S" screen? Discover proven, step-by-step solutions to fix Microsoft Teams Error S fast. Clear cache, restart, update & more for seamless teamwork. Works on latest versions!

How to Fix Microsoft Teams Proxy Error on Windows 10

How to Fix Microsoft Teams Proxy Error on Windows 10

Struggling with Microsoft Teams proxy error on Windows 10? Discover step-by-step fixes to resolve proxy authentication issues, connection failures, and more. Get Teams running smoothly in minutes with our expert guide.

Solving Microsoft Teams Town Hall Event Error

Solving Microsoft Teams Town Hall Event Error

Tired of Microsoft Teams Town Hall Event Error ruining your events? Get step-by-step fixes for scheduling, access, and registration issues. Restore seamless virtual town halls today with our ultimate guide.

How to Download Microsoft Teams for Mac and MacBook Air/Pro

How to Download Microsoft Teams for Mac and MacBook Air/Pro

Discover the simplest way to download Microsoft Teams for Mac, MacBook Air, and MacBook Pro. Step-by-step instructions, system requirements, and troubleshooting tips for seamless installation in the latest version. Get started now!

How to Fix Microsoft Teams Web Login Error

How to Fix Microsoft Teams Web Login Error

Stuck with Microsoft Teams Web Login Error? Get instant fixes for common issues like "Something went wrong" or login loops. Step-by-step guide to resolve Teams web login problems and stay productive. Updated with latest browser tweaks.

How to Fix Microsoft Teams Error 657rx Update Failed

How to Fix Microsoft Teams Error 657rx Update Failed

Struggling with Microsoft Teams Error 657rx Update Failed? Discover step-by-step fixes, from quick restarts to advanced troubleshooting, to get your Teams app updated and running smoothly in minutes. No tech skills required!