Folio is a free, simple, privacy-first browser toolkit for everyday document and PDF operations. Open it, pick a tool, select a file, download the result. No account, no uploads, no trackers.
Universal Drop is the multi-file entry point: it inspects file content locally, keeps the selected order, and offers only browser-local actions supported by the whole batch. Mixed PDF, DOCX, Markdown and JPG/PNG batches can be normalized into one PDF; multiple DOCX files are also supported by Word → PDF.
Every public tool below processes files locally in the browser. Results are generated in the current tab and downloaded by your browser.
| Tool | Route | What it does | Availability |
|---|---|---|---|
| Merge PDF | /tools/merge-pdf |
Combine 2–20 PDFs in your order | Browser-local |
| Split PDF | /tools/split-pdf |
Extract pages with 1-3,5,8-10 syntax |
Browser-local |
| JPG/PNG → PDF | /tools/images-to-pdf |
Convert up to 30 images, one per A4 page | Browser-local |
| Word → PDF | /tools/docx-to-pdf |
Convert one or more .docx files into one PDF |
Browser-local |
| PDF → JPG | /tools/pdf-to-jpg |
Render pages as JPGs, one download or ZIP | Browser-local |
| Rotate PDF | /tools/rotate-pdf |
Rotate all or selected pages | Browser-local |
| Compress PDF | /tools/compress-pdf |
Rewrite PDFs and show honest size changes | Browser-local |
| Markdown → PDF | /tools/markdown-to-pdf |
Render Markdown as a polished A4 PDF | Browser-local |
| PDF → Markdown | /tools/pdf-to-markdown |
Extract readable structure from text PDFs | Browser-local |
| Combine documents → PDF | /tools/combine-to-pdf |
Join PDFs, DOCX, Markdown and JPG/PNG in order | Browser-local |
| Pages → Word | /tools/pages-to-word |
Export supported Pages content to DOCX | Browser-local |
| PowerPoint → PDF | /tools/powerpoint-to-pdf |
Render supported PowerPoint slides locally | Browser-local |
| Keynote → PowerPoint | /tools/keynote-to-powerpoint |
Export supported Keynote slides to PPTX | Browser-local |
| Excel → PDF | /tools/excel-to-pdf |
Render supported Excel worksheets locally | Browser-local |
| Pages → PDF | /tools/pages-to-pdf |
Export supported Pages content to PDF | Browser-local |
| Keynote → PDF | /tools/keynote-to-pdf |
Export supported Keynote slides to PDF | Browser-local |
| Numbers → XLSX | /tools/numbers-to-xlsx |
Export saved Numbers tables to XLSX | Browser-local |
| Numbers → PDF | /tools/numbers-to-pdf |
Render saved Numbers tables locally | Browser-local |
Selected files show a small local preview before processing. PDFs render their first page with the existing self-hosted PDF.js worker, JPG/PNG files use a browser object URL, and DOCX, Markdown, Office and recognized Apple containers use honest format cards when a content preview would overpromise. Preview failures never block conversion, and preview resources are released when files are removed or the workflow is reset.
Historical native conversion experiments remain in the repository for future work, but they are dormant and are not part of the public website, navigation, sitemap or release process.
- No database, auth, accounts, analytics SDKs, telemetry or document uploads.
- Selected files stay in the browser tab. Folio does not receive document bytes and has no cloud processing fallback.
- No third-party runtime requests. The pdf.js worker for PDF → JPG is self-hosted same-origin and copied from the installed dependency at build time.
- Filenames are sanitized before download, and inputs are type and size validated.
The hosting provider may still receive ordinary technical request metadata such as IP address, timestamps, paths and security logs under its own policies.
- Next.js 16 + React 19 + TypeScript + Tailwind 3, deployable to Vercel without a document-processing backend.
- Public tool allowlist:
lib/tools.tsandlib/formatMatrix.tsdefine only browser-local tools.lib/dormantFormatMatrix.tsis isolated from the public runtime and documents historical native pairs for repository work. - Document logic:
lib/pdfOps.tsuses pdf-lib, pdf.js, mammoth, html2canvas, jsPDF and JSZip. Heavy libraries are dynamically imported so the homepage stays light. - Shared workflow: select/drop → validate → configure → process → result/download → start over.
- SEO: title/description/Open Graph metadata, robots, sitemap, SVG favicon and keyboard-accessible dropzone fallback.
npm install
npm run dev # http://localhost:3000
npm run typecheck # tsc --noEmit
npm run lint # eslint .
npm test # vitest run
npm run build # production build
npm audit
npm run release:checkSee CONTRIBUTING.md for development principles, testing guidance and pull-request expectations.
Node 20.19+ is required by the current Next.js/tooling release.
- Import this repository in Vercel with the Next.js framework preset.
- Use
npm run buildas the build command. - No database or document-processing server configuration is needed.
- Run the validation commands above before publishing.
- DOCX → PDF: headings, bold/italic, lists, tables and images are supported, but pagination, fonts, headers/footers, footnotes, text boxes and tracked changes may differ. Multiple DOCX files are converted sequentially and joined in the selected order. Review before sharing.
- Markdown → PDF: raw HTML is disabled and remote images are omitted rather than fetched. The output is laid out for readable A4 pages.
- PDF → Markdown: this is text extraction and reconstruction, not a perfect inverse of the source. Scanned pages, complex columns, tables and exact original formatting may need manual cleanup.
- Compress PDF: client-side optimization only. Already-optimized PDFs may barely shrink, and image-heavy scans need deeper recompression outside this project.
- PDF → JPG: very large PDFs may be slow or memory-heavy on low-end devices.
- Apple, PowerPoint and Excel: Pages, Keynote and Numbers are detected locally. Pages → PDF, Pages → DOCX, Keynote → PDF, Keynote → PPTX, Numbers → XLSX, Numbers → PDF, PowerPoint → PDF and Excel → PDF support structured content in the browser; unsupported content fails closed. An embedded Apple QuickLook PDF is preview-only. Representative reverse outputs were opened, saved and reopened in Pages, Keynote and Numbers 15.3.1; advanced native features remain outside the browser writers.
- File caps: individual PDFs/Apple containers ≤ 100 MB, images ≤ 25 MB, DOCX/PPTX/XLSX ≤ 50 MB; batch workflows also enforce file-count and aggregate-size limits.
- Public legal configuration is centralized in
lib/site.tsand checked bynpm run release:checkwithout printing environment values. /privacy,/cookies,/terms,/legal,/securityand/open-sourcedescribe the current web-only product./macand retired native tool routes redirect to the web product so old bookmarks do not show obsolete setup instructions.- Direct dependency notices are recorded in
docs/THIRD_PARTY_NOTICES.md.
- Add the tool to the explicit browser-local allowlist in
lib/tools.tsandlib/formatMatrix.ts. - Add a case in
run()incomponents/ToolRunner.tsx, with heavy work in a new dynamically importedlib/function. - Prove it works end-to-end in the browser. Never ship a placeholder that only renames extensions.
- Add regression tests for parsing, validation or transforms.
- Update this README and affected privacy copy.