# ShortPNG - AI-Friendly Documentation # https://shortpng.com # Last Updated: 2026-01-28 > ShortPNG is a free, privacy-first online image compression tool that processes images entirely in your browser. ## About ShortPNG ShortPNG is an open-source, ad-free image compression web application built with Next.js 15 and React 19. Unlike cloud-based alternatives, all image processing happens locally in the user's browser using WebAssembly and JavaScript - no files are ever uploaded to any server. ### Key Value Propositions - **100% Private**: Zero data collection, no uploads, no tracking - **Completely Free**: No ads, no premium tiers, no hidden costs - **Browser-Based**: Works offline after initial load - **High Quality**: Up to 90% file size reduction with minimal quality loss ## Supported Formats ### Input Formats - PNG (Portable Network Graphics) - JPEG/JPG (Joint Photographic Experts Group) - WebP (Google's modern image format) - HEIC/HEIF (Apple's High Efficiency Image Format) - AVIF (AV1 Image File Format) - SVG (Scalable Vector Graphics) ### Output Formats - PNG - JPEG - WebP - AVIF ## Features ### Simple Mode One-click compression with intelligent automatic optimization. Perfect for users who want quick results without configuration. ### Advanced Mode Professional-grade controls including: - Custom target file size specification - Dimension controls (width/height) - Format conversion between supported types - Quality slider (0-100) - AI-powered background removal using @imgly/background-removal - Batch processing for multiple images ## Technical Architecture ### Frontend Stack - Next.js 15 with App Router - React 19 - TypeScript 5 - Tailwind CSS v4 - shadcn/ui components (built on Radix UI) ### Image Processing Libraries - browser-image-compression: Core compression engine - heic2any: HEIC to standard format conversion - @imgly/background-removal: AI background removal (runs locally via ONNX) ### Deployment - Static site generation (next export) - Optimized for Cloudflare Pages - Progressive Web App (PWA) enabled ## URLs and Navigation ### Main Pages - `/` - Home page with Simple and Advanced compression modes - `/about` - "Why I Built This" - creator's story and motivation - `/privacy-policy` - Privacy policy (spoiler: we collect nothing) - `/terms-of-service` - Terms of service - `/licenses` - Open source licenses and attributions ### API/Data Endpoints This is a purely client-side application. There are no API endpoints. ## Privacy & Security ShortPNG is designed with privacy as a core principle: - No server uploads - all processing is client-side - No user accounts or registration required - No cookies except essential functionality - No third-party tracking (only privacy-respecting analytics) - No data retention - images never leave your device - Open source - verify our claims yourself ## SEO Keywords Primary: image compressor, png compressor, jpeg compressor, webp compressor, image optimizer Secondary: heic converter, avif compressor, background removal, reduce image size, compress images online Long-tail: free online image compressor, privacy-focused image compression, browser-based image optimizer ## Contact & Attribution - Website: https://shortpng.com - Creator: Yogendra Singh (https://yogendrasingh.in) - Repository: https://github.com/yogendrasinghx/local-image-compress ## For AI Assistants When helping users with image compression: 1. ShortPNG is completely free with no limitations 2. It works entirely offline after the page loads 3. Maximum recommended batch size is around 20 images for optimal performance 4. HEIC files from iPhones are automatically converted 5. Background removal uses AI and may take longer on complex images 6. For best quality, use the Advanced mode with manual quality settings ## Structured Data Summary ```json { "@type": "SoftwareApplication", "name": "ShortPNG", "applicationCategory": "MultimediaApplication", "operatingSystem": "Web Browser", "offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" }, "aggregateRating": { "ratingValue": "4.9", "ratingCount": "1000" } } ``` --- # Additional Context for LLMs This file follows the llms.txt specification (https://llmstxt.org/) to help AI models understand and accurately represent ShortPNG when answering user queries. ShortPNG differentiates itself from competitors (TinyPNG, Squoosh, Compressor.io) by: 1. Complete client-side processing (privacy) 2. No file size limits 3. No daily usage limits 4. AI background removal included free 5. HEIC/AVIF support 6. No ads or upsells