Skip to content

PDF Viewer & Inspector

Open PDF files locally, preview up to 10 pages at a time, extract page text, inspect document metadata and structure, and download the original bytes without uploading the file.

Open and inspect a PDF

PDF.js parses and renders the selected file locally. DecodeLens does not render annotation or form layers, enable XFA, or run embedded JavaScript.

Enter a password only for an encrypted PDF. It stays in memory for this preview and is never persisted.

PDF details

The PDF preview will appear here

Choose a PDF and open it to see pages, extracted text, document metadata, structure checks, and the original file hash.

Read PDF pages and metadata without uploading the file

DecodeLens combines a canvas-based page preview with extracted page text, document metadata, outline and attachment counts, structural offsets, and a SHA-256 fingerprint. The original bytes remain available for download without being rewritten.

PDF preview boundaries

  • Pages are rendered as a passive canvas preview. Annotation UI, AcroForm fields, XFA forms, embedded JavaScript, launch actions, and media are not activated.
  • Ten pages are rendered at a time to keep memory usage bounded; longer documents use previous and next page groups.
  • Text extraction follows the PDF text layer. Scanned image-only pages require OCR, which this tool does not perform.
  • A successful preview is not an antivirus or malware scan and does not establish the trustworthiness of the document.

Continue with tools that decode, convert, inspect, or verify the same data.

Inspect a PDF before sharing or debugging it

Choose the PDF, enter its password if needed, open the document, then review the rendered pages, extracted text, title and author metadata, attachment count, JavaScript indicator, structure warnings, and SHA-256 value.

Local PDF file

%PDF-1.7 … startxref … %%EOF

Passive preview and metadata

12 pages · PDF 1.7 · 2 outline items
Attachments: 0 · JavaScript: not detected

PDF Viewer & Inspector FAQ

Is the PDF uploaded?

No. The selected PDF is parsed and rendered in your browser. The file, password, extracted text, metadata, and preview are not sent to a processing server.

Does the viewer run PDF JavaScript or forms?

No. Pages are rendered without annotation and form layers, XFA is disabled, and the PDF.js scripting layer is not loaded. The metadata panel can report that JavaScript entries exist without executing them.

Why is text missing from a scanned PDF?

A scanned PDF may contain only page images. This tool extracts an existing text layer but does not run OCR on images.