# Cropper.js

> JavaScript image cropper built from web components

Source: https://talira.ai/catalog/cropper-js-e336vdgv
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / ui components / image croppers](https://talira.ai/categories/libraries/ui-components/image-croppers), [languages / typescript](https://talira.ai/categories/languages/typescript)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^2]
- Backed by: [Chen Fengyuan](https://talira.ai/orgs/fengyuanchen.md)

Cropper.js is a JavaScript image cropper for the browser. Version 2 is a set of web components (a canvas, an image, a selection, handles, a grid, a shade, a crosshair and a viewer, each its own npm package under @cropper/), so a page can use the all-in-one Cropper class, drop the custom elements into its HTML, or import only the elements it needs. It supports several selections at once, rotating the image on touch, and previews in viewer elements; the cropped area can be drawn to a canvas and uploaded. Version 1, the all-in-one cropper that also runs in old browsers, is kept on its own branch. Install it from npm as cropperjs.

## Links

- Website: https://fengyuanchen.github.io/cropperjs/
- GitHub: https://github.com/fengyuanchen/cropperjs
- Docs: https://fengyuanchen.github.io/cropperjs/guide.html

## Problems it solves

- let users crop an image in the browser before uploading it
- crop and resize a profile picture on a web page
- a cropper I can drop into a page as an HTML element

## Features

- image cropping web components (custom elements)
- import only the elements you need
- multiple selections and viewers
- rotate the image on touch
- customizable and extensible elements
- crop to a canvas for upload

## Limitations

- Version 2 supports modern browsers only; version 1 is needed for old ones such as IE 9.[^1]

## Trust

Overall: 0.63 out of 1.
Signals: maintenance 0.83, adoption 0.83, momentum 0.61, community 0.68, backing 0.30, extensibility 0.00.

- last commit 14 days ago
- 35 commits in the last 90 days
- latest release v2.3.1 44 days ago
- 13.9k GitHub stars
- 49 contributors
- backed by Chen Fengyuan

## Alternatives

- [image_cropper](https://talira.ai/catalog/image-cropper-y7yg2xc7.md): Flutter plugin for cropping and rotating images on Android, iOS and the web

## Sources

[^1]: https://fengyuanchen.github.io/cropperjs/guide.html (checked 28 Nov 2026)
[^2]: https://github.com/fengyuanchen/cropperjs/blob/main/LICENSE (checked 28 Nov 2026)
