Orihako on your site
Add PDF tools to your own site with one script. The files are processed in your visitor's browser and never uploaded — not to you, not to us.
Add the script
One module from pdf.orihako.com. It opens a hidden frame that holds the PDF engine.
<script type="module">
import { connect } from "https://pdf.orihako.com/embed.js";
const orihako = await connect();
</script>Run a tool
Hand it a file from your page and the settings you want. You get files back.
const { files } = await orihako.run("compress", [file], {
compress_level: "strong",
compress_target_mb: "3",
});
// files[0] is a File: download it, show it, or send it on yourself.
const url = URL.createObjectURL(files[0]);Ask what it can do
Every tool it offers, with the settings each one takes, in the language you ask for.
const tools = await orihako.tools();
// [{ id: "compress", title: "Compress PDF", accepts: "pdf",
// inputs: { min: 1, max: 1 }, values: { properties: { ... } } }, ...]Tools you can call
Each takes files and gives files back. The small text is the id you pass to run().
- Merge PDF
merge - Split PDF
split - Compress PDF
compress - Images to PDF
images-to-pdf - Rotate PDF
rotate - Delete pages
delete-pages - Reorder pages
reorder - Change page size
resize-pages - Pages per sheet
n-up - Split spreads
halve-pages - Lock form entries (flatten)
flatten - Add bookmarks
bookmarks - Extract images
extract-images - Remove author info
remove-metadata - Leak check
leak-check - Page numbers
page-numbers - Bates numbering
bates - Exhibit labels
exhibits - Document bundle
bundle - Protect with password
protect - Remove password
unlock - Watermark
watermark - Stamp
stamp - E-invoice reader (Factur-X, ZUGFeRD)
e-invoice
The rules
- Files stay in your visitor's browser. Nothing reaches us, and we set no cookie.
- Warning people about steps that cannot be undone (compressing, flattening) is yours to do; the tool list marks them.
- Runs here are what the free plan allows: one file per run for tools that work a file at a time, 500 MB in total.
Chains, batches and folder automation live on this site and in the local agent.
Questions
Write to orihako.support@gmail.com. The script and the page it frames speak a numbered protocol (1 today); a change gets a new number rather than a silent edit.