Pixel Locker is a free, 100% browser-based image steganography tool that lets you hide secret messages inside any ordinary photo using LSB (Least Significant Bit) pixel manipulation.
"The image looks completely normal โ but only you know what's hidden inside."
- ๐ต๏ธ Send secret notes disguised as vacation photos
- ๐ Hide story clues for escape rooms or ARGs
- ๐ Store passwords/keys inside profile pictures
- ๐ญ Covert communication with zero server involvement
- ๐ฎ Create mystery challenges and steganography puzzles
| Feature | Description |
|---|---|
| ๐ LSB Steganography | Hides message in least significant bits of pixels โ visually identical |
| ๐ XOR Encryption | Optional password layer encrypts message before embedding |
| ๐ฑ Fully Responsive | Works on mobile, tablet & desktop โ no installation needed |
| ๐ฑ๏ธ Drag & Drop | Smooth drag-and-drop image upload with real-time preview |
| ๐ Capacity Indicator | Shows max character capacity based on image dimensions |
| ๐ Timestamp Embed | Optionally embed creation timestamp inside the message |
| ๐ Paste Support | Ctrl+V to paste images directly from clipboard |
| โจ๏ธ Keyboard Shortcuts | Ctrl/Cmd + Enter to encode/decode instantly |
| ๐พ PNG Output | Always exports as lossless PNG โ preserving hidden data |
| ๐ 100% Free & Open Source | MIT licensed, no account, no ads, no limits |
Live URL: https://avinashwalton.github.io/PixelLocker/
Pixel Locker uses LSB (Least Significant Bit) Steganography:
Original pixel: R=11001010 G=10110101 B=11011001
โ โ โ
After hiding: R=11001011 G=10110100 B=11011001
โ โ
bit changed = 1 bit changed = 0
- Load any PNG/JPG/WEBP image as the carrier
- Type your secret message (optional: add a password)
- The message is converted to binary bits
- A 32-bit length header + Pixel Locker marker is prepended
- Each bit is embedded into the LSB of R, G, B channels sequentially
- Output image is downloaded as lossless PNG
- Upload the stego PNG image
- First 32 bits are read to find the message length
- Message bits are extracted from pixel LSBs
- The Pixel Locker marker is verified
- If password-protected, XOR decryption is applied
- Secret message is revealed โ
No installation needed! Just open the HTML file in any modern browser.
https://avinashwalton.github.io/PixelLocker/
git clone https://github.com/AvinashWalton/PixelLocker.git
cd PixelLocker
# Open index.html in your browser
open index.html # macOS
xdg-open index.html # Linux
start index.html # WindowsDownload index.html โ it's completely self-contained (CSS + JS inbuilt). Just open it!
- โ Zero network requests during encode/decode โ everything is local
- โ No data ever leaves your device โ not even to our own server
- โ Password adds XOR cipher on top of steganography
โ ๏ธ LSB steganography alone is NOT cryptography โ always use a password for sensitive dataโ ๏ธ Never re-compress the output image (no JPEG conversion, no social media uploads that recompress)โ ๏ธ This tool is for educational and personal use โ don't use for illegal activities
| Format | Encode (Input) | Decode (Input) | Output |
|---|---|---|---|
| PNG | โ | โ | โ Always PNG |
| JPG/JPEG | โ | โ | |
| WEBP | โ | โ | |
| BMP | โ | โ | โ |
Pro tip: Use PNG as your carrier image for best results, and always share the output as PNG.
Max characters โ (Width ร Height ร 3) / 8 - overhead
| Image Size | Approx. Capacity |
|---|---|
| 100 ร 100 | ~3,700 chars |
| 500 ร 500 | ~93,000 chars |
| 1000 ร 1000 | ~375,000 chars |
| 1920 ร 1080 | ~777,000 chars |
PixelLocker/
โโโ index.html # Complete app (HTML + CSS + JS โ single file)
โโโ README.md # This file
โโโ LICENSE # MIT License
โโโ og-image.png # Open Graph preview image (optional)
Contributions are welcome! Here's how:
# 1. Fork this repo
# 2. Create your feature branch
git checkout -b feature/amazing-feature
# 3. Commit your changes
git commit -m 'Add amazing feature'
# 4. Push to the branch
git push origin feature/amazing-feature
# 5. Open a Pull Request- AES-256 encryption support
- Support for hiding files (not just text)
- Steganography detection analysis mode
- PWA (Progressive Web App) support
- Multiple image channel support
- Batch encode/decode
| Tool | Description | Link |
|---|---|---|
| โก FileFlux | Fast browser-based file converter | GitHub |
| โ๏ธ AuthorPro | Professional writing & authoring assistant | GitHub |
| ๐ฎ๐ณ DesiLang | Indian language tools for creators | GitHub |
| ๐ TranscriptPro | Audio/video transcription in browser | GitHub |
MIT License
Copyright (c) 2025 Avinash Walton
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Avinash Walton
Made with โค๏ธ in India
โญ Star this repo if it helped you! โญ