PDF guide
Merge, split, rotate, edit, sign, protect, fill and convert PDFs: what each tool does, its options, limits and common errors.
How the PDF tools work
Every PDF tool runs in your browser. Files are read from your device, processed on your device and handed back as a download; nothing is uploaded. Most tools run in a background worker so the page stays responsive. The tools are listed at /tools/pdf, and the conversions also appear under /tools/convert. Each entry below gives the tool id, which is also its operation id in the API and its tool name in a workflow task. Option names are the ones the API accepts; the capability catalog lists them all with their types.
The image-based conversions images-to-pdf and pdf-to-images and the OCR tool ocr are described in Images and OCR.
Page ranges, wherever a tool asks for one, are written as a list such as 1-3,5. A bad range is reported in the tool before it runs; for example, an empty selection says “No pages selected.” followed by an example.
Shared limits and messages
| Limit | Value | Where |
|---|---|---|
| Adding a file | 1 GB per file | The page that loads files refuses larger ones with “NAME is over the 1 GB limit.”. |
| Tool input size | 200 MB for booklet, bookmarks, layers and page boxes; 100 MB for check structure and accessibility check; 50 MB for privacy audit | Each tool refuses larger files with its own message. |
| Image-heavy work | Pixel caps | See the Images and OCR guide. |
| Password-protected files | Unlock first | Add the password when the file is added, or use Decrypt. Tools report “This file is password-protected. Unlock it first.” or “That password didn't work.”. |
| Damaged files | Try Repair | “This file can't be read. Try Repair PDF first.” |
Browser needs: a current Chrome, Edge, Firefox or Safari with WebAssembly and Web Workers (see Browser compatibility). Tools that draw pages (compress, crop auto-trim, compare in Visual mode) use a canvas; where OffscreenCanvas is missing the work runs on the main thread. Large files need free memory, so a 1 GB PDF may not fit on a phone. Engines such as qpdf (WebAssembly) are loaded only when a tool needs them, from this site.
Organize pages
Merge PDF
merge at /tools/pdf/merge. Combines two or more PDFs, or chosen pages from them, into one file in an editor where you reorder and remove pages.
Input and output. Two or more PDFs in, one PDF out, named after the first input with “-merged” added.
Limits. At least two PDFs. Each file is limited by the 1 GB add limit.
Messages you can see. “Add at least two PDFs to merge.” “These PDFs have no pages.”
Open it. Open Merge PDF in the browser; files stay on your device.
API and workflow. Call it as merge from window.eeshgarg.run (see the API reference) or add it to a workflow as the merge step on the Workflow board.
Example. Add cover.pdf and report.pdf, drag report.pdf to the end, then download cover-merged.pdf.
Organize pages
organize at /tools/pdf/organize. Reorders, rotates, deletes and copies pages across one or more PDFs on a page grid, then writes one PDF.
Input and output. One or more PDFs in, one PDF out.
Options (names as used by the API and in workflows).
pages: the page plan the grid builds (default empty).fileIds: which loaded file each page came from (default empty).
Messages you can see. “There are no pages to output.” “The page plan is out of date. Reopen the files and try again.” “A page refers to a file that is no longer loaded.”
Open it. Open Organize pages in the browser; files stay on your device.
API and workflow. Call it as organize from window.eeshgarg.run (see the API reference) or add it to a workflow as the organize step on the Workflow board.
Example. Drop two scans, delete page 3 of the first, move the second file's page 1 to the front.
Split PDF
split at /tools/pdf/split. Cuts a PDF into several files.
Input and output. One PDF in, several PDFs out, numbered split-1, split-2 and so on (zero-padded to the count).
Options (names as used by the API and in workflows).
mode: default every. Modes are ranges (By ranges), every (Every N pages), single (Single pages), points (At boundaries you click between pages), bookmarks (By top-level bookmarks) and size (By maximum size).ranges: page ranges such as 1-3,5.every: N pages per file (default 2).mergeRanges: put all ranges into one file (default off).splitAfter: page numbers to cut after, used by the points mode.maxMb: largest file size in MB for the size mode (default 5; the page accepts 0.01 to 2048).
Messages you can see. “Click between pages to choose where to split.” “Unknown split mode.” “This PDF has no pages.”
Open it. Open Split PDF in the browser; files stay on your device.
API and workflow. Call it as split from window.eeshgarg.run (see the API reference) or add it to a workflow as the split step on the Workflow board.
Example. Choose Every N pages with 10 to turn a 100-page report into ten files of ten pages.
Extract pages
extract at /tools/pdf/extract. Pulls the pages you choose out into a new PDF, or into one file per range.
Options (names as used by the API and in workflows).
ranges: pages to keep (default 1).separate: write one file per range (default off).
Messages you can see. “This PDF has no pages.”
Open it. Open Extract pages in the browser; files stay on your device.
API and workflow. Call it as extract from window.eeshgarg.run (see the API reference) or add it to a workflow as the extract step on the Workflow board.
Example. Ranges 2-4,9 gives a four-page PDF.
Delete pages
delete-pages at /tools/pdf/delete-pages. Removes the pages you list and keeps the rest.
Options (names as used by the API and in workflows).
ranges: pages to delete (default empty).
Messages you can see. “That would delete every page. Keep at least one.” “This PDF has no pages.”
Open it. Open Delete pages in the browser; files stay on your device.
API and workflow. Call it as delete-pages from window.eeshgarg.run (see the API reference) or add it to a workflow as the delete-pages step on the Workflow board.
Example. Ranges 1,12 removes the cover and the last page.
Duplicate pages
duplicate at /tools/pdf/duplicate. Repeats chosen pages.
Options (names as used by the API and in workflows).
ranges: pages to copy (default 1).copies: number of extra copies (default 1).placement: after (After each, default) or end (At the end).
Limits. The result may not exceed 5,000 pages.
Messages you can see. “That would make more than 5,000 pages.”
Open it. Open Duplicate pages in the browser; files stay on your device.
API and workflow. Call it as duplicate from window.eeshgarg.run (see the API reference) or add it to a workflow as the duplicate step on the Workflow board.
Example. Copy page 1 three times at the end to print a form four times.
Insert pages
insert at /tools/pdf/insert. Inserts the pages of a second PDF into the first, or inserts blank pages when you add only one PDF.
Input and output. One PDF (blank pages) or two PDFs (base first, then the one to insert) in; one PDF out.
Options (names as used by the API and in workflows).
where: start, before, after or end (default after).page: the page the position refers to (default 1).insertRange: pages of the inserted PDF; empty means all.blankCount: blank pages to add (default 1).blankSize: match (default), a4, letter or legal.
Messages you can see. “Choose a page between 1 and N.” “NAME has no pages.” “This PDF has no pages.”
Open it. Open Insert pages in the browser; files stay on your device.
API and workflow. Call it as insert from window.eeshgarg.run (see the API reference) or add it to a workflow as the insert step on the Workflow board.
Example. Insert 2 blank pages after page 5 as section dividers.
Reverse pages
reverse at /tools/pdf/reverse. Reverses the page order of the whole file or of the pages you list.
Options (names as used by the API and in workflows).
ranges: pages to reverse; empty means all.
Messages you can see. “This PDF has no pages.”
Open it. Open Reverse pages in the browser; files stay on your device.
API and workflow. Call it as reverse from window.eeshgarg.run (see the API reference) or add it to a workflow as the reverse step on the Workflow board.
Example. Reverse a back-to-front scan so page 1 comes first.
Rotate pages
rotate at /tools/pdf/rotate. Turns pages clockwise by a fixed angle.
Input and output. Output is named with “-rotated” added.
Options (names as used by the API and in workflows).
ranges: pages to rotate; empty means all.angle: 90 (default), 180 or 270.
Messages you can see. “Choose 90, 180 or 270 degrees.” “This PDF has no pages.”
Open it. Open Rotate pages in the browser; files stay on your device.
API and workflow. Call it as rotate from window.eeshgarg.run (see the API reference) or add it to a workflow as the rotate step on the Workflow board.
Example. Angle 90 on ranges 4-6 fixes three sideways scans.
Booklet and N-up
booklet at /tools/pdf/booklet. Lays pages out for printing: a folded booklet (imposition) or several pages per sheet.
Options (names as used by the API and in workflows).
mode: booklet or nup (Pages per sheet).signature: pages per signature (default 0).blanks: where blank pages are added: end (default) or cover (before the back cover).flipBacks: flip the back sides (default off).marks: none (default), fold (fold line) or crop (crop marks).borders: draw page borders (default off).creep: creep allowance (default 0).scaling: fit (default), actual (100%) or fill.pages: pages to include; empty means all.
Limits. Pages per sheet must be 2, 4, 6, 8, 9 or 16. Paper sizes are A4, Letter, A3, Tabloid or a custom width and height in millimetres. PDFs over 200 MB are refused, and the tool places a limited number of pages (the message says how many). Pages are placed as embedded copies, so links, form fields and annotations are not kept.
Messages you can see. “This PDF is larger than 200 MB, which this tool won't process.” “Pages per sheet must be one of 2, 4, 6, 8, 9, 16.” “This tool places at most N pages. Choose fewer pages.”
Open it. Open Booklet and N-up in the browser; files stay on your device.
API and workflow. Call it as booklet from window.eeshgarg.run (see the API reference) or add it to a workflow as the booklet step on the Workflow board.
Example. Booklet mode on a 16-page PDF gives sheets you print double-sided and fold.
Compare PDFs
compare at /tools/pdf/compare. Compares two PDFs, old then new, and writes a report of the differences.
Input and output. Exactly two PDFs in; a report out (default format PDF).
Options (names as used by the API and in workflows).
mode: text (default) or visual.format: report format (default pdf).ignoreCase: ignore capital letters (default off).swap: swap old and new (default off).
Limits. Text mode compares selectable text and reads the first 200 pages. Scanned pages need Visual mode.
Messages you can see. “Add exactly two PDFs to compare (old, then new).” “The PDF has N pages; the limit is 200. Compare a shorter one.”
Open it. Open Compare PDFs in the browser; files stay on your device.
API and workflow. Call it as compare from window.eeshgarg.run (see the API reference) or add it to a workflow as the compare step on the Workflow board.
Example. Compare contract-v1.pdf with contract-v2.pdf to see what changed.
Edit and mark up
Edit PDF
edit at /tools/pdf/edit. Adds text, shapes, images, highlights and links on top of existing pages.
Options (names as used by the API and in workflows).
objects: the items you place (default empty).images: image data for placed pictures.flattenHighlights: make highlights permanent (default off).
Limits. Adds new content. Editing a PDF's existing text isn't supported. Link addresses may use http, https, mailto or tel only.
Messages you can see. “Add a PDF first.”
Open it. Open Edit PDF in the browser; files stay on your device.
API and workflow. Call it as edit from window.eeshgarg.run (see the API reference) or add it to a workflow as the edit step on the Workflow board.
Example. Type a note on page 2 and add a hyperlink to your site.
Fill form
fill-form at /tools/pdf/fill-form. Fills the fields of a PDF form and can flatten the result.
Options (names as used by the API and in workflows).
values: field name to value (default empty).flatten: turn the filled fields into plain page content (default off).
Limits. AcroForm fields only. XFA forms aren't supported. Text is re-drawn with Noto Sans (Latin, Greek, Cyrillic).
Messages you can see. “XFA forms aren't supported.” “This PDF has no fillable fields.”
Open it. Open Fill form in the browser; files stay on your device.
API and workflow. Call it as fill-form from window.eeshgarg.run (see the API reference) or add it to a workflow as the fill-form step on the Workflow board.
Example. Fill in a form, tick Flatten, and send the result so the answers cannot be edited.
Create form
create-form at /tools/pdf/create-form. Draws fillable fields (text, checkbox, radio, dropdown, date, signature placeholder) on a PDF.
Options (names as used by the API and in workflows).
fields: the field definitions (default empty).
Limits. Date fields use Acrobat-style date formatting that some viewers ignore. Signature fields are unsigned placeholders. Up to 500 fields per file and 64 MB of input; a field name can be 127 characters at most.
Messages you can see. “Draw at least one field.” “Every field needs a name.” “Field name "X" is used twice.” “A field named "X" already exists in this PDF.” “Dropdown "X" needs at least one option.”
Open it. Open Create form in the browser; files stay on your device.
API and workflow. Call it as create-form from window.eeshgarg.run (see the API reference) or add it to a workflow as the create-form step on the Workflow board.
Example. Draw three text fields on a plain letter to make a fillable sign-up sheet.
Sign PDF
sign at /tools/pdf/sign. Places a drawn, typed or image signature on a page. A separate certificate section signs with your own .p12 or PEM key.
Options (names as used by the API and in workflows).
items: the signatures you place (default empty).
Limits. The placement tools add a visual signature, which is not a digital signature. A certificate signature needs your own key, and a self-made certificate is not trusted by PDF readers.
Messages you can see. “Add a PDF to sign.” “Place a signature on the page first.” “Can't read that image.” “Nothing left after removing the background.”
Open it. Open Sign PDF in the browser; files stay on your device.
API and workflow. Call it as sign from window.eeshgarg.run (see the API reference) or add it to a workflow as the sign step on the Workflow board.
Example. Draw your signature once, place it on the last page and download.
Watermark
watermark at /tools/pdf/watermark. Stamps text or an image across pages.
Options (names as used by the API and in workflows).
kind: text (default) or image.text: default CONFIDENTIAL.size: default 64.color: default #8A99A8.opacity: default 0.25.rotation: default 45.bold: default on.position: default mc (middle centre).tiled: repeat across the page (default off).layer: over (default) or under the page content.pages: page ranges; empty means all.scale: image scale (default 0.5).
Messages you can see. “Enter the watermark text.” “No pages selected.” “Size must be a positive number.” “The font engine is unavailable.”
Open it. Open Watermark in the browser; files stay on your device.
API and workflow. Call it as watermark from window.eeshgarg.run (see the API reference) or add it to a workflow as the watermark step on the Workflow board.
Example. Stamp DRAFT diagonally on every page before you share a proposal.
Header and footer
header-footer at /tools/pdf/header-footer. Adds text at the top and bottom of pages, with {page} and {total} placeholders.
Options (names as used by the API and in workflows).
hl, hc, hr: header left, centre and right (default empty).fl, fc, fr: footer left, centre, right (default centre is “Page {page} of {total}”).size: default 10.margin: default 28.color: default #333333.bold: default off.pages: page ranges; empty means all.
Messages you can see. “Enter header or footer text.”
Open it. Open Header and footer in the browser; files stay on your device.
API and workflow. Call it as header-footer from window.eeshgarg.run (see the API reference) or add it to a workflow as the header-footer step on the Workflow board.
Example. Put the client name in the header left and keep the default page counter in the footer.
Page numbers
page-numbers at /tools/pdf/page-numbers. Numbers the pages.
Options (names as used by the API and in workflows).
format: default {n}.start: first number (default 1).from: first page to number (default 1).skipFirst: skip the first page (default off).position: tl, tc, tr, bl, bc (default), br.margin: default 28.size: default 11.color: default #333333.
Open it. Open Page numbers in the browser; files stay on your device.
API and workflow. Call it as page-numbers from window.eeshgarg.run (see the API reference) or add it to a workflow as the page-numbers step on the Workflow board.
Example. Start numbering at page 3 of a PDF that has a cover and a contents page.
Crop pages
crop at /tools/pdf/crop. Trims margins by hand or automatically.
Limits. Cropping hides the outside area but the content stays in the file; this is not a redaction. Auto-trim renders pages and checks pixels, so it needs canvas support.
Messages you can see. “No pages selected.” “Margins must be zero or more.” “Auto-trim isn't available here. Use margins instead.” “Page N would be cropped away. Use smaller margins.”
Open it. Open Crop pages in the browser; files stay on your device.
API and workflow. Call it as crop from window.eeshgarg.run (see the API reference) or add it to a workflow as the crop step on the Workflow board.
Example. Use auto-trim on scans to remove the empty border.
Resize pages
resize at /tools/pdf/resize. Rebuilds pages at a new paper size.
Options (names as used by the API and in workflows).
size: default A4; custom lets you give a size in millimetres.width: default 210.height: default 297.orientation: default auto.fit: default fit.
Limits. Pages are rebuilt at the new size; web links are kept (repositioned), but internal links, form fields and other annotations are not carried over.
Messages you can see. “Enter a width and height in mm.”
Open it. Open Resize pages in the browser; files stay on your device.
API and workflow. Call it as resize from window.eeshgarg.run (see the API reference) or add it to a workflow as the resize step on the Workflow board.
Example. Convert Letter pages to A4 before printing in Europe.
Page boxes
page-boxes at /tools/pdf/page-boxes. Sets a page box (MediaBox, CropBox and so on) to a rectangle in PDF points, origin bottom-left.
Options (names as used by the API and in workflows).
box: default CropBox.ranges: pages; empty means all.x0, y0, x1, y1: rectangle corners in points (default 0).
Limits. Other boxes must stay inside the MediaBox, and the MediaBox must still contain them. Viewers and printers may ignore boxes they do not use. Files over 200 MB are refused.
Messages you can see. “Choose a page box.” “Enter all four coordinates in points.” “This PDF is larger than 200 MB, which this tool won't process.”
Open it. Open Page boxes in the browser; files stay on your device.
API and workflow. Call it as page-boxes from window.eeshgarg.run (see the API reference) or add it to a workflow as the page-boxes step on the Workflow board.
Example. Set CropBox to 36 36 559 806 to trim a half-inch margin on A4.
Bookmarks
bookmarks at /tools/pdf/bookmarks. Edits the outline (bookmarks) as a text list, one line per entry, written Title | page.
Options (names as used by the API and in workflows).
text: the bookmark list; null (default) loads the file's current outline.
Limits. Each level is indented by two spaces. Edits the outline only, with page destinations; saving rewrites every bookmark as a plain page link, and colours, styles and open/closed state are not kept. Named destinations need a page number first. Input over 200 MB or a list over 8,000,000 characters is refused.
Messages you can see. “write each bookmark as "Title | page"” “indent each level with two spaces” “indented more than one level below the entry above” “the title is empty” “page N is outside 1..count”
Open it. Open Bookmarks in the browser; files stay on your device.
API and workflow. Call it as bookmarks from window.eeshgarg.run (see the API reference) or add it to a workflow as the bookmarks step on the Workflow board.
Example. Write "Chapter 1 | 3" then " Section 1.1 | 5" on the next line for a nested entry.
Layers
layers at /tools/pdf/layers. Shows or hides optional-content layers as the file's starting state.
Options (names as used by the API and in workflows).
visible: layer to on/off (default empty).
Limits. Some viewers apply their own usage settings, so a layer may still show differently there. Files over 200 MB are refused.
Messages you can see. “This PDF has no layers (optional content).”
Open it. Open Layers in the browser; files stay on your device.
API and workflow. Call it as layers from window.eeshgarg.run (see the API reference) or add it to a workflow as the layers step on the Workflow board.
Example. Hide the "Comments" layer of a drawing before sending it.
Edit metadata
edit-metadata at /tools/pdf/edit-metadata. Edits title, author, subject, keywords, creator, producer, creation date and modified date.
Input and output. One or more PDFs in; one PDF per input out.
Options (names as used by the API and in workflows).
edits: field to new value (default empty).xmp: sync (Keep in sync, default), remove or keep.touchModified: update the modified date (default on).
Messages you can see. “Add a PDF first.” “The creation date isn't valid.” “The modified date isn't valid.”
Open it. Open Edit metadata in the browser; files stay on your device.
API and workflow. Call it as edit-metadata from window.eeshgarg.run (see the API reference) or add it to a workflow as the edit-metadata step on the Workflow board.
Example. Set the title to the document name and the author to your company.
Optimize and repair
Compress PDF
compress at /tools/pdf/compress. Makes a PDF smaller by recompressing images and structure.
Input and output. One or more PDFs in; each result is named with “-compressed”, or keeps the original name when it could not be made smaller.
Options (names as used by the API and in workflows).
level: lossless, balanced (default; images above 200 ppi go to 150 ppi at quality 0.75) or strong (above 150 ppi to 110 ppi, quality 0.6, gray when images are gray).targetValue, targetUnit: aim for a size (unit default MB).ppi: override the target resolution (0 = level default).jpegQuality: override quality (0 = level default).gray: default, off, auto or force.
Limits. Image recompression uses a canvas; without OffscreenCanvas it runs on the main thread. Decoded images are capped at 25 million pixels.
Messages you can see. “This PDF needs a password.” “This PDF could not be read.” “Target size: …”
Open it. Open Compress PDF in the browser; files stay on your device.
API and workflow. Call it as compress from window.eeshgarg.run (see the API reference) or add it to a workflow as the compress step on the Workflow board.
Example. Balanced on a 40 MB scan to email it.
Optimize images
optimize-images at /tools/pdf/optimize-images. Resamples the pictures inside a PDF.
Options (names as used by the API and in workflows).
targetPpi: default 150.quality: default 75.grayscale: default off.targetValue, targetUnit: aim for a size (unit default MB).
Limits. Resamples RGB/gray JPEG and Flate images; CMYK, indexed, masked and JBIG2/JPX images are left as-is.
Open it. Open Optimize images in the browser; files stay on your device.
API and workflow. Call it as optimize-images from window.eeshgarg.run (see the API reference) or add it to a workflow as the optimize-images step on the Workflow board.
Example. Set 120 ppi to shrink a photo-heavy brochure.
Web optimize
web-optimize at /tools/pdf/web-optimize. Rewrites the file for fast web viewing or smaller objects.
Options (names as used by the API and in workflows).
mode: linearize (For fast web view, default) or objects (Smaller objects).
Limits. Rewrites the file structure with qpdf; page content is unchanged. The output must pass qpdf and pdf-lib checks or nothing is produced. Password-protected files must be unlocked first.
Open it. Open Web optimize in the browser; files stay on your device.
API and workflow. Call it as web-optimize from window.eeshgarg.run (see the API reference) or add it to a workflow as the web-optimize step on the Workflow board.
Example. Linearize a manual so the first page shows before the download ends.
Flatten
flatten at /tools/pdf/flatten. Turns form fields and annotations into fixed page content.
Options (names as used by the API and in workflows).
forms: default on.annotations: default on.keepLinks: default on.
Messages you can see. “Choose what to flatten.”
Open it. Open Flatten in the browser; files stay on your device.
API and workflow. Call it as flatten from window.eeshgarg.run (see the API reference) or add it to a workflow as the flatten step on the Workflow board.
Example. Flatten a filled form so the answers cannot be edited.
Repair PDF
repair at /tools/pdf/repair. Fixes common structural damage and reports what it could and could not recover.
Limits. Severely corrupted files may not be recoverable. A file that cannot be parsed still reaches the tool so it can report.
Messages you can see. “Add a PDF to repair.” “This file could not be repaired. It is too damaged to recover any pages.”
Open it. Open Repair PDF in the browser; files stay on your device.
API and workflow. Call it as repair from window.eeshgarg.run (see the API reference) or add it to a workflow as the repair step on the Workflow board.
Example. Run Repair on a download that will not open, then open the new file.
Check structure
check-structure at /tools/pdf/check-structure. Runs the qpdf structural check and downloads a report.
Limits. Files up to 100 MB. It does not check content, fonts or PDF/A conformance, and it does not repair anything. Files the page cannot open (for example truncated ones) are refused when added.
Messages you can see. “Unlock the file first. The structural check reads the unencrypted file.” “This PDF is larger than 100 MB, which this tool won't check.”
Open it. Open Check structure in the browser; files stay on your device.
API and workflow. Call it as check-structure from window.eeshgarg.run (see the API reference) or add it to a workflow as the check-structure step on the Workflow board.
Example. Check a file that one reader opens and another rejects.
Security and privacy
Encrypt PDF
encrypt at /tools/pdf/encrypt. Adds a password to open the file and can limit printing, copying, editing and more.
Options (names as used by the API and in workflows).
userPassword, confirm: the password to open and its repeat.ownerPassword: the password for changing permissions.algorithm: AES-256 (default) or AES-128.perms: printing (high by default), copying, modifying, annotating, fillingForms, assembly (all on by default).
Limits. Passwords are at most 127 bytes. Permission limits are advisory: compliant readers honour them, other software may not. The password to open is what protects the content.
Messages you can see. “Enter a password to open the file.” “Passwords can be at most 127 bytes.” “AES-128 passwords can only use Western (Latin-1) characters. Use AES-256 for other characters.” “Every permission is allowed and no password is set, so there is nothing to apply.”
Open it. Open Encrypt PDF in the browser; files stay on your device.
API and workflow. Call it as encrypt from window.eeshgarg.run (see the API reference) or add it to a workflow as the encrypt step on the Workflow board.
Example. AES-256 with a long passphrase before you email a statement.
Decrypt PDF
decrypt at /tools/pdf/decrypt. Removes the password from a PDF you can open.
Messages you can see. “This PDF is password-protected. Enter its password to continue.” “Incorrect password.” “This PDF isn't password-protected, so there is nothing to remove.”
Open it. Open Decrypt PDF in the browser; files stay on your device.
API and workflow. Call it as decrypt from window.eeshgarg.run (see the API reference) or add it to a workflow as the decrypt step on the Workflow board.
Example. Remove the password from an old invoice you own.
Change password
change-password at /tools/pdf/change-password. Replaces the open password of a protected PDF.
Options (names as used by the API and in workflows).
userPassword, confirm: the new password and its repeat.ownerPassword: optional owner password.algorithm: AES-256 (default) or AES-128.keepPermissions: default on.
Messages you can see. “This PDF is password-protected. Enter its password to continue.” “Incorrect password.”
Open it. Open Change password in the browser; files stay on your device.
API and workflow. Call it as change-password from window.eeshgarg.run (see the API reference) or add it to a workflow as the change-password step on the Workflow board.
Example. Swap a shared password after someone leaves.
Permissions
permissions at /tools/pdf/permissions. Changes what readers are asked to allow, using the owner password.
Options (names as used by the API and in workflows).
currentOwnerPassword: the existing owner password.ownerPassword, userPassword: the new passwords.algorithm: AES-256 (default) or AES-128.perms: printing, copying, modifying, annotating, fillingForms, assembly.
Messages you can see. “That isn't the owner password for this PDF.” “Every permission is allowed and no password is set, so there is nothing to apply.”
Open it. Open Permissions in the browser; files stay on your device.
API and workflow. Call it as permissions from window.eeshgarg.run (see the API reference) or add it to a workflow as the permissions step on the Workflow board.
Example. Turn copying off on a PDF you distribute.
Redact PDF
redact at /tools/pdf/redact. Marks areas to black out, deletes the content beneath them from the file, then checks the output.
Options (names as used by the API and in workflows).
marks: the areas (default empty).fill: default black.dpi: rasterization resolution (default 200).mode: structure (default) removes content in place; pages that cannot be cleaned safely can be flattened to images with rasterPages.scrubMeta: default on.scrubActive: default on.allowAuditFail: save even if the privacy audit finds items (default off).
Limits. Pages whose content cannot be removed safely must be flattened explicitly.
Messages you can see. “Add at least one redaction first.” “Redaction check failed: redacted text was still found in the output (…). Nothing was saved.” “Privacy audit failed: … Nothing was saved. Remove these items, or tick "Download anyway" to save the file with them.” “Verification failed: … Nothing was saved.”
Open it. Open Redact PDF in the browser; files stay on your device.
API and workflow. Call it as redact from window.eeshgarg.run (see the API reference) or add it to a workflow as the redact step on the Workflow board.
Example. Mark an account number wherever it appears, redact and download.
Remove metadata
remove-metadata at /tools/pdf/remove-metadata. Strips hidden information from one or more PDFs.
Options (names as used by the API and in workflows).
remove: what to remove: info, xmp, id, pieceInfo (on by default), authors, attachments, javascript (off by default).
Messages you can see. “Add a PDF first.” “Choose something to remove.” “This file is password-protected. Unlock it first.” “That password didn't work.” “This file can't be read. Try Repair PDF first.”
Open it. Open Remove metadata in the browser; files stay on your device.
API and workflow. Call it as remove-metadata from window.eeshgarg.run (see the API reference) or add it to a workflow as the remove-metadata step on the Workflow board.
Example. Clean author and software tags from a report before publishing.
Attachments
attachments at /tools/pdf/attachments. Lists files embedded in a PDF, including paperclip annotations and associated files, and extracts or removes them.
Options (names as used by the API and in workflows).
mode: extract (default) or remove.selected: which attachments to act on (default null).
Limits. An attachment over 512 MB is not extracted. Encrypted files must be unlocked first.
Messages you can see. “This PDF has no embedded files.” “Select the attachments to extract.” “Select the attachments to remove.” “This attachment is too large to extract here.” “Nothing could be extracted.”
Open it. Open Attachments in the browser; files stay on your device.
API and workflow. Call it as attachments from window.eeshgarg.run (see the API reference) or add it to a workflow as the attachments step on the Workflow board.
Example. Extract the spreadsheet embedded in a quote.
Inspect PDF
inspect at /tools/pdf/inspect. Reads a PDF's properties, security and structure and downloads a report.
Options (names as used by the API and in workflows).
format: report format (default txt).
Limits. Read-only. Signatures are detected but not cryptographically validated.
Messages you can see. “Add a PDF to inspect.” “This file can't be read as a PDF.”
Open it. Open Inspect PDF in the browser; files stay on your device.
API and workflow. Call it as inspect from window.eeshgarg.run (see the API reference) or add it to a workflow as the inspect step on the Workflow board.
Example. Check the page size, version and fonts of a file.
Privacy audit
privacy-audit at /tools/pdf/privacy-audit. Finds hidden text, layers, JavaScript and other actions, attachments, earlier revisions and metadata, and downloads a report.
Options (names as used by the API and in workflows).
format: report format (default txt).
Limits. Read-only. Files up to 50 MB; a check that runs longer than 60 seconds is stopped. White-on-white text is not detected.
Messages you can see. “Add a PDF to audit.” “This file is larger than 50 MB, the limit for this check.” “This file is not a PDF (no %PDF header near the start).” “The file is empty.”
Open it. Open Privacy audit in the browser; files stay on your device.
API and workflow. Call it as privacy-audit from window.eeshgarg.run (see the API reference) or add it to a workflow as the privacy-audit step on the Workflow board.
Example. Audit a PDF before you share it outside the company.
Accessibility check
accessibility-check at /tools/pdf/accessibility-check. Checks tags, language, title and alt text and downloads a report.
Limits. Read-only and not a full PDF/UA or WCAG validation. The page accepts files up to 100 MB and stops a check that takes more than 60 seconds.
Messages you can see. “Add a PDF to check.” “The check took too long and was stopped.” “Background checks are not supported in this browser.”
Open it. Open Accessibility check in the browser; files stay on your device.
API and workflow. Call it as accessibility-check from window.eeshgarg.run (see the API reference) or add it to a workflow as the accessibility-check step on the Workflow board.
Example. Find out whether a brochure has a document language and tags.
Convert to and from PDF
PDF to text
pdf-to-text at /tools/convert/pdf-to-text. Extracts selectable text into a .txt file.
Input and output. One or more PDFs in; one .txt per PDF out.
Options (names as used by the API and in workflows).
layout: default lines.pageMarks: mark page boundaries (default off).
Limits. Reads the text layer only. Scanned pages have none: run OCR first.
Open it. Open PDF to text in the browser; files stay on your device.
API and workflow. Call it as pdf-to-text from window.eeshgarg.run (see the API reference) or add it to a workflow as the pdf-to-text step on the Workflow board.
Example. Pull the text of a manual into a note.
PDF to Word
pdf-to-word at /tools/convert/pdf-to-word. Writes a .docx from a PDF.
Options (names as used by the API and in workflows).
mode: text (default, editable text) or image (pages as pictures, not editable).
Limits. Editable text mode rebuilds text, headings, lists and simple tables; complex layouts, vector graphics and exact fonts aren't preserved.
Messages you can see. “Add a PDF first.” “This file is empty.”
Open it. Open PDF to Word in the browser; files stay on your device.
API and workflow. Call it as pdf-to-word from window.eeshgarg.run (see the API reference) or add it to a workflow as the pdf-to-word step on the Workflow board.
Example. Convert a letter so you can edit the wording.
PDF to Excel
pdf-to-excel at /tools/convert/pdf-to-excel. Detects tables from aligned text and writes an .xlsx. Experimental.
Options (names as used by the API and in workflows).
layout: perpage (One per page, default) or combined (Single sheet).
Limits. Ruled-only, merged-cell or scanned tables may be missed or split wrongly. Check the numbers.
Messages you can see. “Add a PDF first.”
Open it. Open PDF to Excel in the browser; files stay on your device.
API and workflow. Call it as pdf-to-excel from window.eeshgarg.run (see the API reference) or add it to a workflow as the pdf-to-excel step on the Workflow board.
Example. Turn a statement table into a sheet and check the totals.
PDF to PowerPoint
pdf-to-powerpoint at /tools/convert/pdf-to-powerpoint. Writes a .pptx with one slide per page.
Options (names as used by the API and in workflows).
mode: image (default) or editable text (experimental).
Limits. Page images look exact but aren't editable. Editable text mode places text boxes only. All slides use the first page's size.
Messages you can see. “Add a PDF first.”
Open it. Open PDF to PowerPoint in the browser; files stay on your device.
API and workflow. Call it as pdf-to-powerpoint from window.eeshgarg.run (see the API reference) or add it to a workflow as the pdf-to-powerpoint step on the Workflow board.
Example. Turn a slide-style PDF back into a deck.
Word to PDF
word-to-pdf at /tools/convert/word-to-pdf. Converts a .docx to PDF.
Options (names as used by the API and in workflows).
pageSize: default doc (the document's own).margin: default normal.fontSize: default 11.
Limits. Keeps text, Word styles, lists, tables and web links. A file with pictures, or with characters outside Western European text, is converted by a simpler converter.
Open it. Open Word to PDF in the browser; files stay on your device.
API and workflow. Call it as word-to-pdf from window.eeshgarg.run (see the API reference) or add it to a workflow as the word-to-pdf step on the Workflow board.
Example. Export a CV without opening Word.
Excel to PDF
excel-to-pdf at /tools/convert/excel-to-pdf. Prints the sheets of an .xlsx to PDF.
Options (names as used by the API and in workflows).
pageSize: a4 (default) or letter.orientation: default auto.fit: default width.gridlines: default on.sheets: which sheets; empty means all.
Limits. Keeps number formats, bold, italic, fills, borders, alignment, merged cells and sizes. Hidden rows and columns are left out. The output stops at 600 pages.
Messages you can see. “No sheets to convert.” “This file couldn't be read as a spreadsheet.” “The selected sheets are empty.”
Open it. Open Excel to PDF in the browser; files stay on your device.
API and workflow. Call it as excel-to-pdf from window.eeshgarg.run (see the API reference) or add it to a workflow as the excel-to-pdf step on the Workflow board.
Example. Print only the Summary sheet.
PowerPoint to PDF
powerpoint-to-pdf at /tools/convert/powerpoint-to-pdf. Converts a .pptx to PDF. Experimental.
Options (names as used by the API and in workflows).
includeHidden: include hidden slides (default off).
Limits. Reproduces slide text, images and basic shapes; themes, charts, SmartArt and animations aren't supported.
Open it. Open PowerPoint to PDF in the browser; files stay on your device.
API and workflow. Call it as powerpoint-to-pdf from window.eeshgarg.run (see the API reference) or add it to a workflow as the powerpoint-to-pdf step on the Workflow board.
Example. Export a simple deck for handouts.
HTML to PDF
html-to-pdf at /tools/convert/html-to-pdf. Typesets HTML files or pasted HTML into PDF.
Options (names as used by the API and in workflows).
pageSize: default a4.margin: default normal.fontSize: default 11.pageNumbers: default off.pasted: pasted HTML.
Limits. Renders common structure (text, headings, lists, tables, images). CSS layout, scripts and web fonts aren't supported.
Messages you can see. “Add an HTML file or paste some HTML.”
Open it. Open HTML to PDF in the browser; files stay on your device.
API and workflow. Call it as html-to-pdf from window.eeshgarg.run (see the API reference) or add it to a workflow as the html-to-pdf step on the Workflow board.
Example. Paste a simple page of notes and download it as a PDF.
Text to PDF
text-to-pdf at /tools/convert/text-to-pdf. Typesets text files or pasted text into PDF.
Options (names as used by the API and in workflows).
pageSize: default a4.margin: narrow, normal (default) or wide.fontSize: default 11.mono: monospace font (default off).pageNumbers: default off.merge: one PDF from all files (default off).pasted: pasted text.
Messages you can see. “Add a text file or paste some text.” “The text is empty.”
Open it. Open Text to PDF in the browser; files stay on your device.
API and workflow. Call it as text-to-pdf from window.eeshgarg.run (see the API reference) or add it to a workflow as the text-to-pdf step on the Workflow board.
Example. Turn a log file into a monospace PDF with page numbers.
API and workflows
Every tool above is callable as window.eeshgarg.runTool(id, files, options), with options merged over the defaults named in the entry; unknown option names throw. In a workflow, add a task node whose config.tool is the tool id. The same limits and messages apply. See the API reference and Workflow semantics.
const out = await window.eeshgarg.runTool("rotate", [file], { ranges: "2-3", angle: 90 });
// out.files[0].name is "NAME-rotated.pdf"More: Workflow API to define and run workflows from code, the command line, and every tool id and option in the capability catalog.
Works with
PDF results go on to other tools: a merged or compressed PDF to Protect PDF or Redact PDF, a PDF to Images or PDF to Text to the image and OCR tools, and Word, Excel and PowerPoint conversions from the Office editors. Each tool's id is its workflow task name and its API call (runTool(id, files, options)). Every result has a Send to menu next to Download that opens the next tool with the files already loaded, and a small + Workflow control that queues the tool as a task block in the Workflow hub (see Workflows). Related tools sit at the bottom of each tool page.