How to convert an EPS to PDF
Drop one or more .eps files on the box above, or press Browse. Each file is sent to our server, converted, and listed with a Download button; with several files you can also download them all as a ZIP. Two files are converted at a time, and the limit is 25 MB per file.
- Drop the EPS files from Origin, MATLAB, matplotlib, Inkscape or any other program on the box.
- Wait for the row to say PDF ready, or read the message if it could not be converted.
- Press Download, or Download all (ZIP) for several files.
- Open the PDF and check the text, the colours and the edges of the figure before you submit it.
Which EPS files convert well, and which do not
An EPS file is a small PostScript program, so converting it means running that program, and the program can use any part of a large language. We tried the converter on 21 EPS files from matplotlib, MATLAB, a cairo-based exporter, Adobe Illustrator, ImageMagick and PostScript written by hand, and compared each PDF with the original figure. Only a minority came out right, which is why this page lists the problems instead of promising that every EPS works.
Came out right: line plots and filled areas from matplotlib with its default Type 3 fonts, clipped images, flat-colour drawings from cairo-based programs, and a MATLAB image with its colour bar.
Went wrong without an error: matplotlib EPS saved with TrueType (Type 42) fonts, the setting many journals ask for: letters and digits are missing from the labels. Images from matplotlib can come out upside down, and a letter or a dot is sometimes missing even with Type 3 fonts. Check every label.
Stopped with an error: gradients (Inkscape, cairo and Illustrator write them), hatched fills, EPS saved by Adobe Illustrator, EPS written by ImageMagick, and some MATLAB line plots.
If the box above says that EPS to PDF is not switched on yet, the converter is waiting for a fix to one of these problems, and the three methods below are the better route today. Origin's own EPS export was not part of the test, so try your file and look at the result.
Why EPS to PDF is hard without Ghostscript
Most EPS to PDF tools are Ghostscript underneath, the standard PostScript interpreter. Its licence (AGPL) does not suit a hosted service like this one, so this page uses a different, MIT-licensed PostScript interpreter written in Python. It is new and does not yet cover all of PostScript, which is the source of the problems above. PDF to EPS and SVG to EPS do not have this problem; they use poppler and librsvg.
Other ways to convert EPS to PDF on your computer
- Inkscape (free): open the EPS, then File, Save a Copy, and choose PDF. It needs Ghostscript installed to read EPS.
- epstopdf, part of TeX Live and MiKTeX:
epstopdf figure.epswritesfigure.pdfand crops to the bounding box. - Ghostscript directly:
gs -dEPSCrop -sDEVICE=pdfwrite -o figure.pdf figure.eps. - The program that made the EPS: Origin, MATLAB, matplotlib and Illustrator can all export a PDF directly, which is better than converting an EPS.
Is my file uploaded?
Yes, for this conversion. This converter sends the file to our server, converts it and deletes it at once; nothing is kept. The file is converted in a temporary folder that is deleted as soon as the reply is sent, and the server log records only the size of the file, its type and how long the conversion took, never its name or content. The TIFF, DPI and Compress modes of this page work differently: they run in your browser and upload nothing.
Frequently asked questions
How do I convert an EPS to PDF online?
Drop the EPS file on the page and press Download when the row says PDF ready. The file is uploaded to our server, converted and deleted at once. If the converter is not switched on yet, the page says so, and Inkscape or epstopdf on your computer is the alternative.
Is my EPS file uploaded or kept?
It is uploaded, because the conversion runs on our server. It is deleted as soon as the converted file has been sent back, and nothing is kept. The log records only the size, the type and the duration of a conversion, not the file name or content.
Why are letters or numbers missing in my PDF?
The most common cause is an EPS whose fonts are embedded as TrueType (Type 42), which matplotlib writes when ps.fonttype is 42. The PostScript interpreter used here does not draw those fonts reliably. Save the figure as PDF from the program that made it, or convert on your own computer with Inkscape or epstopdf.
Does the PDF stay a vector graphic?
Yes. Lines, shapes and text stay vector in the PDF; an image inside the EPS stays an image. Nothing is turned into a screenshot.
Why was my EPS file refused or not converted?
The converter checks the content of the file, not its name, and refuses anything that is not an EPS. A real EPS can still fail when it uses gradients, hatching, or PostScript operators the interpreter does not know, which includes many files saved by Adobe Illustrator and ImageMagick.
Is there a size limit?
25 MB per file. A figure that large is usually a bitmap inside an EPS wrapper, and it converts more reliably if you export the PDF directly.
Can I convert PDF or SVG to EPS here too?
Yes. Use the PDF to EPS and SVG to EPS modes at the top of the converter: the first page of a PDF, or an SVG drawing, becomes an EPS file.
More figure tools
The figure tools also cover the other steps of getting a figure into a journal:
- Compress for submission: reduce an image to a file size you choose, such as a journal's upload limit, or to the size the print needs.
- Change dpi: set the dpi of a PNG, JPEG or TIFF without touching the pixels, or resample to a column width.
- Check dpi: see the dpi, pixel size and printed size of an image and test it against journal column widths.
- TIFF to PNG: convert a TIFF, including a 16-bit microscope TIFF, to PNG or JPEG.
- PDF to EPS: convert a PDF figure to EPS, keeping vector lines and text (the file is uploaded, converted and deleted at once).
- SVG to EPS: convert an SVG drawing to EPS (the file is uploaded, converted and deleted at once).