Polotno

Release: Microsoft Publisher import and a keyboard-ready side panel

By Anton Lavrenov · Nov 27, 2026

Microsoft retired Publisher in October 2026, and Microsoft 365 no longer opens .pub files. Your users still have them: years of flyers, newsletters and brochures. This release adds a package that opens those files as editable Polotno designs, and it makes the editor's side panel usable from the keyboard.

Open Publisher files in your editor

@polotno/pub-import reads a .pub file and turns each publication page into a Polotno page. Text boxes, tables, shapes and pictures arrive as separate elements your users can edit. Text that flows through linked boxes stays in reading order, and supported WordArt arrives as vector outlines that keep their shape.

ts
import { pubToJson } from '@polotno/pub-import';

const json = await pubToJson({ pub: await file.arrayBuffer() });
store.loadJSON(json);

The import runs in the browser, so the file stays on your user's computer. It reads files saved by Publisher 98 and later, up to Publisher 2021 and the Microsoft 365 version.

Read the Publisher import docs.

What an imported page looks like

A .pub file names its fonts, and most files leave the font data out. The import replaces Calibri, Cambria, Garamond and other Office fonts with open-licensed look-alikes that have matching letter widths, so lines break close to where they did in Publisher. You can pass your own font files for the families you have the right to use.

Publisher and Polotno lay out text with different engines. An imported page comes close to the original and can differ: a line can break at another word, and the import approximates 3D WordArt. The import reports each approximation to a callback, so your product can show the user what changed in their file. The docs list the limitations.

For print shops and document platforms

Publisher files come from churches, schools, clubs and small businesses, and those customers send them to print shops and upload them to the platforms they use. A customer on Microsoft 365 can no longer open the file to export a PDF first. Your upload form can take the .pub instead: import it, show the pages for a check, and export a PDF.

ts
import { readFile } from 'node:fs/promises';
import { pubToJson } from '@polotno/pub-import';
import { jsonToPDF } from '@polotno/pdf-export';

const json = await pubToJson({ pub: await readFile('newsletter.pub') });
await jsonToPDF(json, './newsletter.pdf');

This example runs in Node.js, where one script can convert a single upload or a whole archive. The same two packages run in the browser. See PDF export for print settings such as bleed and PDF/X.

Try it on your own files

Three free tools run this package in the browser: the PUB viewer, PUB to PDF and PUB to PPTX. Drop a file from one of your customers and see what they would get.

A side panel you can use from the keyboard

Tab now reaches the section tabs, images, effects and layers in the side panel, and Enter or Space picks them. Arrow Up and Down move the focused layer. The layer buttons, the font menu and the effect switches have screen reader labels.

If you translate the editor, add three keys: sidePanel.hideLayer, sidePanel.lockLayer and sidePanel.deleteLayer.

Blurred text fades out at its edges

Blurred text now fades out past its letters, where it used to end in a hard edge. The editor, polotno-node, and image and email export draw it the same way. There is no setting to keep the old look, so check your designs with blurred text after you upgrade.

Upgrade

bash
npm install polotno@4.24.0 @polotno/pub-import

React 18 projects use polotno@3.24.0. For server rendering, update polotno-node to 3.21.0.

Everything else in this release is in the changelog.

Skip the build, cut dev costs, launch faster

TRUSTED BY

100,000+

CREATORS

300+

BUSINESSES

ExpediaUnbounceLovePopPostGridPredis.ai