A lightweight browser extension to highlight text on regular webpages and keep annotations in browser local storage.
Highlights are tied to each page URL, so they persist across reloads and browser restarts.
- Highlight selected text with multiple colors.
- Add a text comment to each saved highlight from the annotation list panel.
- Remove a single highlight with the Erase tool.
- Remove all highlights on the current page with Erase all.
- Show/hide the annotation toolbar from the browser action button.
- Annotation list panel to view highlights on the current page.
- Export and import annotations from a settings page.
- URL-keyed storage in
chrome.storage.local(hash is ignored).
The extension works with all Chromium-based browsers, including Google Chrome, Microsoft Edge, and Brave. This extension is built with standard WebExtension APIs, so it may also work in Firefox and Safari. That said, support on those browsers has not been fully validated yet.
To install the extension, follow these steps:
- Download this repository.
- Extract the ZIP file to a folder on your computer.
- Open the browser's extension management page:
- Chrome:
chrome://extensions - Edge:
edge://extensions - Brave:
brave://extensions - Other: check the browser's documentation for the extension management page.
- Chrome:
- Enable developer mode if it is not already enabled (usually a toggle switch in the top right corner).
- Click "Load unpacked" and select the "extension" folder inside the extracted ZIP file.
The extension should now be installed and ready to use!
Note that the extension will not automatically update when new versions are released. To update the extension, download the latest release and repeat the installation steps. You can watch the GitHub repository to receive notifications of new releases.
Caution
Annotations may be lost when updating or reloading the extension. Export them in settings beforehand, then import them afterward to prevent data loss.
- Open any webpage.
- Click the extension icon in the browser toolbar to toggle the annotation toolbar.
- Use Highlight and select text.
- Hover the highlight button to pick a color.
- Use Erase and click an existing highlight to remove it.
- Use Erase all to clear annotations for the current URL.
- Use Annotations to open the in-page annotation list panel.
- In the annotation list, use Add comment / Edit comment and type directly in the inline text box.
- Hover a highlight to see its saved comment.
- Use Settings to open export/import tools.
Hiding the toolbar does not remove saved highlights.
Open Settings from the annotation toolbar.
- Export JSON: downloads all saved annotation data.
- Import JSON:
- Merge mode adds/replaces matching annotations while keeping existing unrelated data.
- Replace mode clears current annotation data first, then imports the provided file.
For bug reports and feature suggestions, please open an issue on GitHub. Feel free to also submit pull requests that enhance the extension.