---
url: https://paperpic.dev/guide/introduction.md
description: >-
  PaperPic is an open-source document scanner and image viewer for web apps:
  straighten, crop and clean up photos of documents, and zoom in to read them.
---

# What is PaperPic?

Photos of documents arrive skewed, shadowed and full of background. PaperPic shows them in a viewer that people can zoom into, and lets them straighten and clean up each photo before your app keeps it, as a scanner app would.

## What it does

* **View.** Zoom with the buttons, the wheel, a pinch, a double click or the keyboard, pan, and fit the whole image, its width or its height. A read-only viewer can also rotate the image.
* **Edit.** In the edit mode, the user can crop, straighten a photo taken at an angle, rotate, flip, adjust the brightness and the contrast, and clean up the document into gray or black and white. Every edit can be undone until the user applies the changes.
* **Deliver.** Apply computes the result at full resolution and hands it to your code as a `Blob`. A download button can also save it.

Each step happens only when the user asks for it. Nothing changes the photo on its own.

## What it does not do

* It does not upload anything. Your app decides what to do with the result.
* It does not open PDF files, only images.
* It does not always find the document on its own: when it is not sure, the user drags the corners.
* It does not open the camera itself. On a phone, the file input offers it, as [Attach and scan](../examples/attach-and-scan) shows.

## Packages

| Package           | Use it with                        |
| ----------------- | ---------------------------------- |
| `@paperpic/core`  | Plain JavaScript, or any framework |
| `@paperpic/vue`   | Vue 3.5 or newer                   |
| `@paperpic/react` | React 19 or newer                  |
| `@paperpic/nuxt`  | Nuxt 4                             |

The core and the two components have the same options, events and methods, and the core has no runtime dependencies. In a Nuxt app, `@paperpic/nuxt` sets up the Vue component for you. The editing runs in a Web Worker, so the page stays responsive with large photos.

## Try it

The [playground](../playground) lets you edit a sample receipt, or a photo of your own that never leaves your browser. To add PaperPic to your app, go to [Getting started](./getting-started).
