Free Tools (16) Pricing
0 credits
Add Credits
Dashboard Free Tools
Open Source - MIT Licensed

Fullscreen Images.
Zero Dependencies.

A fast, lightweight image lightbox built with vanilla JavaScript. Smooth zoom on desktop, pinch zoom on touch. One file, no jQuery, no frameworks, no bloat.

< 8KB gzipped 0 dependencies MIT license ES6+ vanilla JS
Sunset

Everything a lightbox needs. Nothing it doesn't.

Fullscreen Viewer

Click any image to open it fullscreen with a smooth fade transition. Keyboard navigation with Escape to close and arrow keys for galleries.

Smooth Zoom

Scroll to zoom on desktop with momentum. Pinch to zoom on touch devices with proper inertia. Double-tap to toggle zoom level. Pan with drag.

Zero Dependencies

Pure vanilla JavaScript. No jQuery, no React, no framework runtime. One JS file, one CSS file. Works everywhere JavaScript runs.

Touch & Desktop

First-class touch support with pinch, pan, and swipe gestures. Desktop users get scroll zoom, keyboard nav, and click-outside-to-close.

No setup required

your-page.html
<!-- Activate the plugin, then link any full-size image --> <a href="photo-full.jpg"> <img src="photo-thumb.jpg" alt="Caption"> </a> <!-- Group into a swipeable gallery: share an nlb-group-* class --> <a href="img-1.jpg" class="nlb-group-portfolio"><img src="t1.jpg"></a> <a href="img-2.jpg" class="nlb-group-portfolio"><img src="t2.jpg"></a> <!-- Or use the shortcode for full control --> [nitrolitebox src="photo-full.jpg" thumb="photo-thumb.jpg" caption="Sunset" group="portfolio"]

Link a full-size image - or use the [nitrolitebox] shortcode - and NitroLiteBox detects it automatically. No classes or setup needed.

Open source. Use it anywhere.

MIT-licensed, free forever. Use it on client sites, personal projects, or commercial products. Star it on GitHub if it saves you time.