Description
react-pdf-highlighter is a set of React components for annotating PDF files. Users can select text or an area of a page to create a highlight, see a popover with text for the highlight, and jump back to saved highlights by scrolling to them. It is built on top of PDF.js, the Mozilla library that renders PDFs in the browser, and it supports both text highlights and image highlights. The package bundles the CSS for PDF.js, so you import the stylesheet from the package to get the look of the highlights and the viewer. The README links a live demo and says the example app can be run locally, with the component API shown in the example's App.tsx file. You install it from npm and then use the components in your own React app, storing the highlights in your own data layer. The project is public on GitHub, and the author links a donation page in the README, which is not part of the product. The package suits reading, research and review tools where people need to mark up documents.…
Highlights
- Text and image highlights on PDFs
- Popover text for each highlight
- Scroll to saved highlights
- Built on PDF.js
- Bundled CSS for PDF.js
- Live demo and example app
Ratings & Reviews
No ratings yet
Be the first to rate react-pdf-highlighter.
People also visit

react-pdf-highlighter-extended
Set of modern React components for PDF highlighting

react-native-pdf
A react native PDF view component, support ios and android platform

react-rough-notation
This is a React wrapper for [RoughNotation](https://roughnotation.com/)
react-pdf-highlighter FAQ
What is react-pdf-highlighter?
A set of React components for highlighting and annotating PDF files in the browser.
Is it free?
The source is public on GitHub and listed as open source.
What kinds of highlights does it support?
The README lists text highlights and image highlights, with popover text and scrolling to saved highlights.
How do I see a working example?
The README links a live demo, and the example app in the repository can be run locally.
What are the best react-pdf-highlighter alternatives?
Popular alternatives to react-pdf-highlighter include react-pdf-viewer, react-pdf-highlighter-extended and react-native-pdf. See all react-pdf-highlighter alternatives










