
Inkseal
The PDF viewer, editor and signer for VS Code.
Read, highlight, discuss, organize and digitally sign PDFs without leaving your editor.

Papers, specs, contracts, invoices, theses: PDFs are part of everyday work, and so is the round trip to
another app to mark them up or sign them. Inkseal brings the whole workflow into VS Code: open a PDF and
you can highlight it, discuss it in comment threads, draw on it, reorder and merge pages, search it and
seal it with your digital certificate.
Everything is saved as standard PDF annotations, so Acrobat, macOS Preview, browsers and any other
reader show exactly what you did.
Why Inkseal
- One tool for the whole job. Viewing, review, markup, page organization and signatures, instead of
a viewer here and a signing app there.
- Interoperable by design. Highlights, notes, ink and stamps are written as regular PDF annotations
with appearance streams, readable by every PDF reader.
- Your originals stay intact. Changes are appended as incremental updates: the original bytes are
never rewritten, so earlier digital signatures remain valid.
- Private. No account, no cloud, no telemetry. Your documents and your certificate never leave your
machine. The only network call is the optional timestamp server you configure.
- Feels native. Follows your color theme, works with VS Code's undo/redo, Save As and hot exit, and
speaks English and Portuguese.
- Free and open source under the MIT license.
Features
Review and discuss
Highlight, underline, strike out and comment. Every annotation can carry a threaded discussion with
replies and a review status (Accepted, Rejected, Cancelled, Completed). Filter by text or status
and export all comments to Markdown.

Mark up text in one click
Select text and a floating toolbar offers highlight colors, underline, strikeout, squiggly, comment and
copy. Pen, rectangles, ellipses, lines, arrows, text boxes, sticky notes and images are one click away in
the toolbar, with color, width, fill and opacity.

On a MacBook Pro with a Touch Bar, the same colors and actions appear there as soon as you select text.

Organize pages and merge PDFs
The thumbnail panel shows every page with its annotations. Drag thumbnails to reorder, rotate or delete
pages, and drop PDFs or images from Finder or Explorer to merge them exactly where you want. In the VS Code
Explorer, right-click files and choose Insert into Open PDF. Page edits join undo/redo like any other
change.

Find anything
Cmd/Ctrl+F searches the whole document, ignoring case and accents and joining words hyphenated at line
breaks. Every match is highlighted and Enter jumps to the next one.

Sign: handwritten or with a digital certificate
Draw your signature, type it in a script font or upload a photo (the white background is removed), and
place it like a stamp. For legally binding signatures, sign with a PKCS#12 certificate (.pfx/.p12):
Inkseal creates PAdES signatures (PDF Advanced Electronic Signatures), visible or invisible, with an
optional RFC 3161 trusted timestamp. Several people can sign the same file one after the other.

The Signatures panel lists every signature in the file and checks its integrity.

Document info, in your theme
Title, author, subject and keywords (editable), creator, producer, dates, PDF version, PDF/A conformance,
size, revisions, page sizes, encryption and permissions, form fields, attachments and fonts.

Getting started
- Install Inkseal and open any
.pdf file. It opens in the Inkseal editor (or right-click a PDF →
Open with Inkseal).
- Select text to highlight it, or pick a tool from the toolbar. Save with
Cmd/Ctrl+S.
- To merge files, drop PDFs or images on the thumbnail panel. Drag thumbnails to reorder pages.
- To sign with a certificate, press Sign, drag the signature box on the page (or choose
Invisible), pick your
.pfx file and type its password.
Shortcuts
| Key |
Action |
Cmd/Ctrl+F · Enter / Shift+Enter |
Find · next / previous match |
V · H |
Select · pan |
T · N · P |
Text box · note · pen |
Del / Backspace |
Delete the selected annotation, or the selected pages in the thumbnail panel |
Arrow keys (Shift = 10 pt) |
Nudge the selected annotation |
Shift while drawing |
Square, circle or 45° line |
Cmd/Ctrl + wheel |
Zoom |
Esc |
Cancel the current tool, selection or floating toolbar |
Digital signatures
- Format: PAdES baseline (
ETSI.CAdES.detached) with the signing-certificate-v2 attribute,
SHA-256 and RSA or ECDSA keys, from PKCS#12 certificate files (.pfx/.p12) such as ICP-Brasil A1.
- Timestamp: set
inkseal.signature.timestampUrl to an RFC 3161 time-stamping authority (TSA), for
example http://timestamp.digicert.com, to add a trusted signing time (PAdES B-T).
- ICP-Brasil (Brazilian Public Key Infrastructure): for ICP-Brasil certificates (A1) Inkseal embeds
the PA_PAdES_AD_RB v1.3 signature policy by default; AD-RT is available for accredited timestamp
servers. Signatures pass the official validator at validar.iti.gov.br as
qualified electronic signatures.
- Best practice: annotate first and sign last. Comments added after signing keep the signatures
intact, but some validators report changes made after signing.
- Privacy: the password is asked every time, unless you enable
inkseal.signature.rememberPassword, which keeps it in the operating system keychain through VS Code's
secret storage.
Settings
| Setting |
Default |
Description |
inkseal.author |
OS user name |
Author written into new annotations and replies |
inkseal.colors |
6 presets |
Color presets offered by the tools |
inkseal.selectionToolbar |
true |
Floating toolbar next to selected text |
inkseal.signature.certificatePath |
— |
Path to your .pfx/.p12 certificate |
inkseal.signature.policy |
auto |
auto, icp-brasil-ad-rb, icp-brasil-ad-rt or none |
inkseal.signature.timestampUrl |
— |
RFC 3161 timestamp server |
inkseal.signature.reason / .location |
— |
Default reason and location |
inkseal.signature.rememberPassword |
false |
Keep the certificate password in the OS keychain |
FAQ
Does Inkseal change my PDF? Only when you save, and only by appending: the original content stays
byte for byte as it was, so you can always recover it and existing signatures stay valid.
Will others see my annotations? Yes. They are standard PDF annotations, visible in Acrobat, Preview,
Chrome, Firefox, Edge and other readers.
Can I open password-protected PDFs? Encrypted files open read-only.
Does it work without internet? Yes. Only the optional signature timestamp needs the network.
Em português
O Inkseal é o visualizador, editor e assinador de PDF para o VS Code. Com ele você lê, destaca,
comenta, responde e define o status de revisão, desenha e escreve, reorganiza páginas, junta PDFs e
imagens arrastando os arquivos, busca no documento inteiro (sem diferenciar acentos) e assina: com a
assinatura manuscrita ou com certificado digital A1 da Infraestrutura de Chaves Públicas Brasileira
(ICP-Brasil, arquivo .pfx), no padrão de assinatura avançada de PDF (PAdES, PDF Advanced Electronic
Signatures) com a política AD-RB. As assinaturas são aprovadas no validador oficial
validar.iti.gov.br como assinatura eletrônica qualificada. Tudo fica no
seu computador, sem conta e sem nuvem, e a interface aparece em português quando o VS Code está em
português.
Contributing
Issues and pull requests are welcome at github.com/hsandmann/inkseal.
npm install
npm run build # or: npm run watch
npm test # round-trip, signing, PKCS#12, document info and page tests
npm run package # builds inkseal-x.y.z.vsix
Press F5 in VS Code to try your changes. The code is split into src/pdf (annotations, page
structure and the incremental writer, built on pdf-lib),
src/sign (PKCS#12, CMS/CAdES, timestamps and verification), src/editor (the VS Code custom editor)
and webview (viewer and tools, rendering by PDF.js).
License and credits
MIT. Bundled open-source components and their licenses are listed in
THIRD-PARTY-NOTICES.md.
The screenshots show LLaMA: Open and Efficient Foundation Language Models (Touvron et al., 2023,
arXiv:2302.13971), licensed
CC BY 4.0; the annotations, the review page and the
signature were added for the demonstration. Names in the screenshots are fictitious.