Black Friday40% off all plans

What Is an EPS File? How to Open, Convert, and When to Use One

By Hieu Dinh

What Is an EPS File? The Short Answer

What is an EPS file? An EPS file (.eps) is a graphic saved in Encapsulated PostScript, a format Adobe introduced in the late 1980s for dropping illustrations into page layouts. It usually contains scalable vector artwork such as a logo, plus an optional low-resolution preview. It is reliable for print, but modern apps increasingly don't open it.

That last part is why most people search for this. You receive a logo pack or a stock illustration, double-click the .eps, and nothing useful happens. This guide covers what's inside the file, why support has been shrinking, how to open and convert EPS on Mac and Windows today, and when to use SVG, PDF, or AI instead.


What Is an EPS File Made Of?

PostScript is a programming language for describing pages: "move here, draw a curve, fill it with this color, set this text in Helvetica." Printers and imagesetters run that program to produce the page. An EPS file is a PostScript program with a few extra rules that make it safe to embed in another document:

  • One page only. EPS describes a single graphic, not a multi-page document.
  • A bounding box. The header includes a %%BoundingBox comment so the layout app knows the graphic's size without running the code.
  • Self-contained. It shouldn't change global printer settings, so it can be "encapsulated" inside a larger print job.

Open an EPS in a text editor and the first lines usually look like this:

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 0 0 200 100
%%Title: logo

The current specification, EPSF version 3.0, dates from 1992. Some EPS files start with a binary header instead of readable text. That "DOS EPS" variant bundles the PostScript with a preview image, which is why the file looks like gibberish in a text editor.

Vector, raster, or both

An EPS file can contain three kinds of content:

  1. Vector paths: shapes defined by math, which stay sharp at any size. This is what you want in a logo file.
  2. Raster images: pixel grids embedded in the PostScript. A photo saved as EPS from Photoshop is entirely raster.
  3. Text: either live text with fonts embedded or referenced, or text converted to outlines.

So "EPS" doesn't guarantee a vector graphic. Saving a JPG as EPS doesn't make it scalable; it's the same pixels in a different wrapper. If a client sends you an "EPS logo" that pixelates when enlarged, that's what happened. If you're unsure how raster formats differ from vector ones, our SVG vs PNG comparison covers it.

The preview image

In the 1980s and 1990s, most desktop apps couldn't render PostScript on screen. EPS solved this with an optional preview: a small bitmap stored alongside the code. Common types were a TIFF or WMF preview in the DOS EPS header, a PICT preview on classic Mac OS, and EPSI, a plain-text bitmap.

Apps that can't interpret PostScript show the preview, while the printer gets the real vector code. This is why an EPS can look blocky in a document yet print perfectly, and why some file browsers show a thumbnail of an EPS they can't actually open.


Why EPS Is Now a Legacy Format

Adobe's own file-type page describes EPS as a legacy format overtaken by newer formats such as PDF, while noting that some printers and older equipment still require it. Three things have pushed it aside:

  • No transparency. EPS has no native transparency. When you save transparent artwork as EPS, Illustrator flattens it, which can split shapes into many pieces or rasterize parts of them.
  • Security. Because PostScript is a full programming language, a malicious EPS can carry exploit code. In April 2017, Microsoft turned off EPS image support in Office by default; from May 2018, Microsoft 365 and Office 2019 users can no longer re-enable it, and existing EPS images show up as a red X.
  • Apple dropped it from Preview. Apple's support article "View .ps and .eps files on Mac" says Preview could view these files in macOS 12 Monterey or earlier, and that newer versions need a third-party app. Apple didn't give a reason. Since macOS 13 Ventura (2022), Preview no longer renders PostScript, and the old pstopdf command-line tool was missing on the current macOS version we checked.

Meanwhile, PDF handles everything EPS did (vector, raster, embedded fonts, CMYK) and adds transparency, multiple pages, and universal viewers. SVG took over the web.


How to Open an EPS File

On a Mac

Double-clicking an EPS on a current Mac usually gets you nothing useful, because Preview no longer supports it. Options:

AppCostKeeps vectors editable?Notes
Adobe IllustratorSubscriptionYesThe reference tool. Illustrator-saved EPS files usually reopen fully editable.
Affinity (by Canva)FreeMostlyThe unified Affinity app imports EPS. Complex files may need cleanup.
InkscapeFree, open sourceMostlyNeeds Ghostscript installed (see below). Text may be converted or substituted.
GIMPFreeNoOpens EPS via Ghostscript and rasterizes it at a resolution you choose.
PhotoshopSubscriptionNoRasterizes on open; asks for size and resolution first.
Ghostscript (Terminal)FreeConverts onlyTurns EPS into PDF or PNG, which Preview opens.

The quickest free route without installing a design app is Ghostscript from Homebrew:

brew install ghostscript
gs -dSAFER -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=pdfwrite -o logo.pdf logo.eps
open logo.pdf

The PDF opens in Preview, stays vector, and is cropped to the artwork's bounding box thanks to -dEPSCrop.

On Windows

Windows has never had a built-in EPS viewer, and Word, PowerPoint, and Excel now block EPS images. Use Illustrator, Affinity, Inkscape, or GIMP, or install Ghostscript from ghostscript.com and run the same commands with gswin64c in place of gs.

In Inkscape: the Ghostscript catch

Inkscape imports EPS by first converting it to PDF with Ghostscript's ps2pdf. Inkscape 1.1 and later no longer bundle Ghostscript, so EPS import fails with a vague error until you install Ghostscript and make sure ps2pdf is on your PATH. On a Mac with Homebrew Ghostscript, some users find it only works when Inkscape is launched from Terminal. If you hit that, convert to PDF with the command above and open the PDF in Inkscape instead.

Online viewers

Online converters such as CloudConvert will turn an EPS into a PDF or PNG in the browser. They're fine for a stock graphic, but they upload your file to someone else's server, so skip them for unreleased logos or client work.


How to Convert an EPS File

EPS to PNG or JPG

In Illustrator, open the file and choose File > Export > Export As, then pick PNG or JPEG and set the resolution. In Inkscape or Affinity, use the export panel the same way.

With Ghostscript, these commands render a 300 DPI image, cropped to the artwork:

# PNG with a transparent background
gs -dSAFER -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=pngalpha -r300 -o logo.png logo.eps

# PNG with a white background
gs -dSAFER -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=png16m -r300 -o logo-white.png logo.eps

# JPG at quality 90
gs -dSAFER -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=jpeg -dJPEGQ=90 -r300 -o logo.jpg logo.eps

-r sets the resolution. EPS dimensions are in points (1/72 inch), so a 200 × 100 pt graphic at -r300 becomes about 833 × 417 pixels. Raise -r for a bigger image. Use PNG for logos and flat graphics, and JPG only for photographic content; JPEG vs PNG explains why.

EPS to PDF

This is the most useful conversion, because the PDF stays vector and opens everywhere:

gs -dSAFER -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=pdfwrite -o logo.pdf logo.eps

ps2pdf -dEPSCrop logo.eps logo.pdf does the same thing. In Illustrator, use File > Save As and choose Adobe PDF.

EPS to SVG

Illustrator's Export As includes SVG. Inkscape can do it from the command line, provided Ghostscript is set up:

inkscape logo.eps --export-type=svg --export-filename=logo.svg

Without Inkscape, go through PDF and use Poppler's pdftocairo (brew install poppler):

gs -dSAFER -dBATCH -dNOPAUSE -dEPSCrop -sDEVICE=pdfwrite -o logo.pdf logo.eps
pdftocairo -svg logo.pdf logo.svg

The result is valid vector SVG, but text is converted to glyph outlines, so it isn't editable as text. Converted SVGs also tend to be bloated with extra groups and precise coordinates; run them through an SVG optimizer before putting them on a website.


EPS vs SVG vs PDF vs AI

EPSSVGPDFAI
Full nameEncapsulated PostScriptScalable Vector GraphicsPortable Document FormatAdobe Illustrator Artwork
Owner / standardAdobe (EPSF 3.0, 1992)W3C open standardISO 32000Adobe, proprietary
Vector + rasterYesYesYesYes
TransparencyNo (flattened)YesYesYes
CMYK / spot colorsYesNo (RGB)YesYes
Pages / artboardsOneOneManyMany artboards
Opens in a browserNoYesYesNo
Opens in macOS PreviewNo (since Ventura)YesYesUsually, if saved with PDF compatibility (the default)
Best forLegacy print and vendor workflowsWeb, apps, iconsPrint, sharing, archivingEditing in Illustrator

EPS vs SVG

EPS vs SVG comes down to where the graphic is going. SVG is XML text that browsers draw natively, supports transparency, and can be styled with CSS or animated. It has no CMYK support, so it's not a print production format. EPS is the opposite: print-oriented, CMYK-capable, invisible to browsers. For a website, convert EPS to SVG (or to PNG if the art is complex) and never upload the EPS itself. For more on choosing between vector and raster on the web, see SVG vs PNG and the best image format for websites.

EPS vs PDF

A PDF can hold everything an EPS can, plus live transparency and multiple pages, and anyone can open it. For print, a PDF/X file is the modern equivalent of handing over an EPS. Unless a vendor specifically asks for EPS, send PDF.

EPS vs AI

AI is Illustrator's working format: layers, artboards, effects, and editable type. EPS is an export. Keep the AI (or SVG) as your master file and generate EPS from it when needed, not the other way around. For Adobe's raster-side equivalent, see what is a PSD file.


Which Format Should You Use?

  • Logo package for a client: SVG and PDF for vector use, PNG at a few sizes for everyday use, plus the AI master. Add EPS only if the client mentions sign makers, embroidery, promotional products, or an older print shop that asks for it.
  • Sending artwork to a printer: PDF (ideally the PDF/X variant your printer specifies). Send EPS only on request.
  • Website or app: SVG for icons and logos, PNG, WebP, or AVIF for everything else. Our SVG to PNG converter guide covers the raster exports.
  • Archiving print images: for raster masters, TIFF is the safer long-term choice; for vector, PDF.

Where Compresto Fits

Compresto doesn't open, edit, or convert EPS files, and it can't vectorize anything. Use Illustrator, Affinity, Inkscape, or Ghostscript for that part.

It helps afterward. Exporting EPS artwork to PNG at print resolution produces large files, and PDFs made from EPS can be heavy when they contain embedded images. Compresto is a native Mac app that compresses the PNG, JPG, and PDF exports in batches, locally, with nothing uploaded. It can also convert PNGs to WebP or AVIF for the web and hit an exact target file size when an upload form has a limit. For individual formats, see how to compress PNG files, how to compress JPEG, and how to compress a PDF.


Frequently Asked Questions

What is an EPS file?

A single-page graphic in Adobe's Encapsulated PostScript format, usually vector artwork with an optional preview image. It was built for print layouts and is now a legacy format replaced by PDF and SVG.

How do I open an EPS file on a Mac?

Preview can't open EPS on macOS Ventura or later. Use Illustrator, the free Affinity app, or Inkscape with Ghostscript, or convert the EPS to PDF with Ghostscript and open that in Preview.

How do I open an EPS file on Windows?

Windows has no built-in EPS viewer and Office blocks EPS images. Use Illustrator, Affinity, Inkscape, or GIMP, or convert with Ghostscript's gswin64c.

Is an EPS file a vector file?

Usually, but not always. An EPS can contain only pixels, for example one saved from Photoshop. Check it in outline mode in Illustrator or Inkscape: vector shapes show as paths, raster images as an empty box.

EPS vs SVG: which is better?

SVG for web and apps; EPS only for print workflows that require it. For print, PDF usually beats both.

How do I convert EPS to PNG or JPG?

Export from Illustrator, Affinity, or Inkscape, or run Ghostscript with -sDEVICE=pngalpha (transparent PNG) or -sDEVICE=jpeg, plus -dEPSCrop and -r300 for a cropped 300 DPI image.


The Short Version

An EPS file is a single-page PostScript graphic, usually vector, built for 1990s print workflows. Preview and Microsoft Office no longer open it, so use Illustrator, Affinity, Inkscape, or a one-line Ghostscript command to get a PDF, PNG, or SVG. Keep SVG, PDF, or AI as your working formats and export EPS only when someone asks for it.

Download Compresto for Mac →


Ready to compress your files? Join thousands of creators using Compresto ⚡