JPG is the right choice for photographic Illustrator artwork and the wrong one for a logo. Most converters do not tell you which you have. They upload the file, flatten it, and return a picture. This one opens the artwork first, so you can see what you are exporting.
Why an .ai file opens here without Illustrator
This tool reads the PDF representation in .ai files saved with “Create PDF Compatible File” enabled. If it is absent, re-save with that option or export a PDF in Illustrator.
Resolution comes from vectors, not from upscaling
Vector objects are rasterized at export time. The import starts at 96 pixels per inch of artboard size, and the menu next to the download button exports at 2× or 3× that, but placed images still depend on their source detail. If the browser cannot encode a large canvas, export retries at smaller dimensions.
Where JPG costs you quality
JPEG compression works by discarding detail the eye is unlikely to miss in a photograph. Hard edges are exactly what it handles worst, so a crisp black logo on white picks up faint grey speckle around every edge. It also has no alpha channel, so transparency becomes a solid fill.
For logos, icons, and type-led artwork, use the AI to PNG converter for a lossless raster, or the AI to SVG converter to stay vector entirely.
Fix the artwork before you flatten it
Once the file parses, every object is still separate and editable. Correct the wording, swap a colour, remove a stray element, or delete an artboard you do not need, then export. The JPG is rendered from what is on screen, which is the one thing a plain converter can never do.
The same conversion in code
This page uses the public SDK to read PDF-compatible .ai files:
import { pdfToJson } from "@polotno/pdf-import";
import { createStore } from "polotno/model/store";
// Pass the bytes of a PDF-compatible .ai file.
const buffer = await file.arrayBuffer();
const json = await pdfToJson({ pdf: buffer });
const store = createStore({ key: "YOUR_KEY" });
store.loadJSON(json);
await store.waitLoading();
// 2x the artboard size, rendered from vector data
const dataUrl = await store.toDataURL({
pageId: store.pages[0].id,
mimeType: "image/jpeg",
pixelRatio: 2,
});Full API reference: PDF Import and the Import & Export overview.
