Polotno

File converter

AI to PDF converter

Convert Adobe Illustrator files to a clean vector PDF in your browser. Text stays selectable, and you can edit the artwork before you export.

Quick answer

Drop an .ai file, get a standard PDF with selectable text. Each artboard becomes a page, and you can edit or remove pages before exporting.

Formula: AI (PDF container) → Polotno JSON (per artboard) → PDF (vector, selectable text, browser-only)

Drop a AI file here to convert it to PDF

or

Runs entirely in your browser. Your file never leaves your device.

An .aifile already contains a PDF, so this conversion should be trivial — and mostly it is. The interesting part is what you get to change on the way through, and why the obvious shortcut is not quite as good as it looks.

The rename trick, and its three catches

Since Illustrator 9, saving a file writes a full PDF representation of the artwork alongside Illustrator's own data. That is why a genuine .ai file starts with the bytes %PDF-1.5, and why renaming it to .pdf often just works.

Three things that trick will not do for you:

  • It carries Illustrator's private data along, so the file is larger than the artwork needs.
  • You get every artboard exactly as saved. No removing the working versions before you send it.
  • It fails silently on files saved without PDF compatibility — the reader simply refuses to open them.

This converter parses the artwork and writes a fresh PDF from it, which fixes the first two and gives you a clear message about the third.

Change it before you send it

Once the file parses, every object is separate and editable. Fix a phone number, update a price, swap a colour, or delete the three exploratory artboards nobody else needs to see. The PDF is written from what is on screen.

Text stays text

The type in your Illustrator file is read as text and written back as text, so the finished PDF is selectable, searchable, and copyable. Nothing is converted to outlines or flattened into a picture along the way.

Before a commercial print run

A clean vector PDF is the right starting point, but a press normally also wants bleed, crop marks, and CMYK. Check an existing file with the PDF preflight tool or confirm its dimensions with the PDF page size checker.

The same conversion in code

This page is built on the public SDK. Because .ai is a PDF container, the importer needs no special case:

ai-to-pdf.ts
import { pdfToJson } from "@polotno/pdf-import";
import { jsonToPDFBlob } from "@polotno/pdf-export/browser";

// An .ai file is a PDF container - pass the bytes straight in.
const buffer = await file.arrayBuffer();
const json = await pdfToJson({ pdf: buffer });

// A fresh vector PDF, one page per artboard, text still selectable.
const blob = await jsonToPDFBlob(json);

Full API reference: PDF Import, PDF Export, and the Import & Export overview.

Frequently asked questions

Q: How do I convert an AI file to PDF?

Drop your .ai file on the converter above. It opens in your browser as an editable design, with each artboard as a page. Click "Download PDF" to save a standard PDF that opens in any reader. No Illustrator, no account, and no upload.

Q: Can I just rename the .ai file to .pdf?

Often, yes — and it is worth knowing. Illustrator writes a PDF representation into the file by default, so renaming usually produces something a PDF reader will open. But you keep Illustrator's private data as dead weight, so the file is bigger than it needs to be, you get every artboard exactly as saved, and it silently fails on files saved without PDF compatibility. Converting here writes a fresh PDF from the parsed artwork instead, and lets you change it first.

Q: Is the text in the PDF selectable?

Yes. Text is parsed as real text and written back as real text, so it stays selectable, searchable, and copyable in the finished PDF. It is not an image of type.

Q: What happens to multiple artboards?

Each artboard becomes one page of the PDF, in order. Delete the pages you do not want in the editor before exporting, and only the ones you keep are written to the file.

Q: Is this a print-ready PDF?

It is a clean vector PDF, which is the right starting point, but a commercial print run usually also needs bleed, crop marks, and CMYK conversion. Those are available through store.saveAsPDF({ includeBleed, cropMarkSize }) and the PDF/X-1a output in @polotno/pdf-export. Our PDF preflight tool checks an existing file for those properties.

Q: Why does my .ai file fail to open?

Almost certainly because it was saved without "Create PDF Compatible File". With that option off, the artwork exists only in Illustrator's private format and nothing outside Illustrator can read it — renaming the file will not help either. Re-save from Illustrator with the option ticked. The converter tells you when this is the cause.

Open Illustrator and PDF artwork inside your own app with @polotno/pdf-import.

TRUSTED BY

100,000+

CREATORS

300+

BUSINESSES

ExpediaUnbounceLovePopPostGridPredis.ai