# Origami

> Pure Ruby framework and command-line tools for parsing, inspecting and modifying PDF files, including malicious ones.

Source: https://osinttools.io/tools/origami-pdf/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** File
- **Category:** Data analysis and case notes
- **Pricing:** Free, open source
- **Footprint:** passive (does not contact the target)
- **Account required:** no
- **API:** no public API
- **Platforms:** Ruby library · CLI
- **Website:** https://github.com/gdelugre/origami
- **GitHub:** gdelugre/origami, 340 stars · Ruby · LGPL-3.0 · last commit 2019-01-20 · dormant (no commit on the default branch in 18 months)
- **Listed:** Nov 27
- **Last verified by an editor:** Nov 27, 2026

## What it does

Origami is an open-source Ruby library for reading, changing and creating PDF documents. It understands compression filters, encryption, digital signatures, attachments, forms and object streams, and it ships command-line tools such as pdfcop, which runs heuristic checks for dangerous content, plus tools to decompress, decrypt and extract parts of a PDF.

Malware analysts and document examiners use it to look inside suspicious PDFs, pull out embedded JavaScript, files or streams, and strip compression or encryption so the structure can be read. Because it is a library, it also suits scripted analysis of many files.

Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.

## Features

- PDF parser and writer in pure Ruby
- pdfcop heuristic danger checks
- Decompress and decrypt tools
- Extraction of streams, scripts and attachments
- Handles encryption, signatures and forms

## Pros

- Free and open source (LGPL-3.0)
- Command-line tools work without writing code
- Scriptable for bulk or custom analysis

## Cons

- Not actively developed since 2023
- Needs Ruby and some familiarity with PDF internals
- Some JavaScript features depend on old optional gems

## When to use it

- Use it when you need to see what scripts or files are hidden inside a suspicious PDF.
- Use it when you want to script checks across a set of PDF documents.

## Quick start

RubyGems:

```
gem install origami
```

## Alternatives

- [AI Voice Detector](https://osinttools.io/tools/ai-voice-detector/): Web detector that scores whether speech in an audio clip is AI-generated, segment by segment, with a free tier and an API. (Freemium · File · passive)
- [ALEAPP](https://osinttools.io/tools/aleapp/): Open-source parser that turns an Android extraction into HTML, TSV, timeline and KML reports of messages, app data and logs. (Open source · File · passive · 1,055 GitHub stars)
- [APKLeaks](https://osinttools.io/tools/apkleaks/): Python CLI that decompiles an Android APK with jadx and scans it for URLs, endpoints and hardcoded secrets. (Open source · File · passive · 6,404 GitHub stars)
- [Apache Tika](https://osinttools.io/tools/apache-tika/): Apache toolkit that detects file types and extracts text and metadata from over a thousand formats, including PDF and Office. (Open source · File · passive · 4,160 GitHub stars)
- [Apktool](https://osinttools.io/tools/apktool/): Open-source tool for decoding Android APK files into readable resources and smali code, and rebuilding them. (Open source · File · passive · 27,387 GitHub stars)
- [Autopsy](https://osinttools.io/tools/autopsy/): Open-source digital forensics platform and GUI for The Sleuth Kit, used to examine disk images, phones and other media. (Open source · File · passive · 3,468 GitHub stars)

All alternatives to Origami in one table: https://osinttools.io/tools/origami-pdf/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
