https://github.com/shardulvs/pdfinspector-android
A DevTools-style PDF element inspector and editor for Android
https://github.com/shardulvs/pdfinspector-android
android document-editor jetpack-compose kotlin material3 open-source pdf pdf-editor pdf-viewer pdfbox
Last synced: 12 days ago
JSON representation
A DevTools-style PDF element inspector and editor for Android
- Host: GitHub
- URL: https://github.com/shardulvs/pdfinspector-android
- Owner: shardulvs
- License: mit
- Created: 2026-06-04T14:30:22.000Z (13 days ago)
- Default Branch: master
- Last Pushed: 2026-06-04T14:59:07.000Z (13 days ago)
- Last Synced: 2026-06-04T16:21:08.667Z (12 days ago)
- Topics: android, document-editor, jetpack-compose, kotlin, material3, open-source, pdf, pdf-editor, pdf-viewer, pdfbox
- Language: Kotlin
- Size: 924 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PDF Inspector
A DevTools-style element inspector and editor for PDFs on Android
---
## At a glance
- **DevTools for PDFs**: every page's content stream is parsed into a navigable tree of text blocks, vector paths and images, grouped the way the PDF actually draws them. Switch between friendly labels and the raw content-stream operators.
- **Two-way selection**: tap an element on the page or tap its row in the tree, and the other side highlights to match, drawn as a clear bordered outline on the canvas.
- **Surgical delete**: remove exactly the element you picked by rewriting just its slice of the content stream, leaving the rest of the page untouched. Full undo and redo.
- **Save a copy, never the original**: your edited PDF is written to a new file through the system file picker, so the source document is left exactly as it was.
- **Smooth viewing**: pan and pinch-zoom, fit to width or height, a global zoom that carries across pages, and a full-screen mode.
- **Dockable inspector**: the inspector panel docks to the side in landscape or the bottom in portrait, resizes by dragging, and can be made transparent to see the page through it.
- **Material You**: Material 3 design with dynamic color on Android 12+, light / dark / system themes and a choice of accent colors.
- **Private and open**: open source, no accounts, no telemetry. No network access and no storage permission: files are opened and saved through Android's Storage Access Framework, so the app only ever touches the documents you explicitly pick.
## Install
| Channel | |
|---|---|
| [GitHub Releases](https://github.com/shardulvs/pdfinspector-android/releases/latest) | Signed APK |
## Build from source
Requires **JDK 17** (the project pins Java 17):
```bash
git clone https://github.com/shardulvs/pdfinspector-android.git
cd pdfinspector-android
JAVA_HOME=/path/to/jdk-17 ./gradlew assembleDebug
```
Output: `app/build/outputs/apk/debug/app-debug.apk`