A sleek, client-side developer toolset for JSON/SQL formatting and Base64 image encoding/decoding that runs entirely in your browser with no server required.
Privacy-first offline tools - all processing happens locally in your browser, no data sent anywhere.
- Pretty-print JSON with proper indentation
- Syntax highlighting using react-syntax-highlighter with atomDark theme
- Validation with detailed error messages
- Copy to clipboard functionality
- Real-time formatting
- Format SQL queries specifically for Oracle dialect
- Syntax highlighting for improved readability
- Keyword capitalization and smart indentation
- Copy formatted SQL to clipboard
- Support for complex SQL statements
- Bidirectional conversion - Base64 to Image and Image to Base64
- Decode Mode: Paste Base64 string to preview images with auto-format detection
- Encode Mode: Upload images to get Base64 output with one-click copy
- Auto-detection of image format (JPEG, PNG, GIF, WebP)
- Smart parsing - automatically adds data URI prefix if missing
- Instant validation with error messages
- React 19.2 - UI library
- Vite 7.2 - Build tool and dev server
- Tailwind CSS 3.4 - Utility-first CSS framework
- Lucide React - Beautiful icon library
- sql-formatter - SQL parsing and formatting
- react-syntax-highlighter - Code syntax highlighting
- Clone the repository:
git clone <repository-url>
cd offline-tools- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to the URL shown in the terminal (usually
http://localhost:5173)
npm run buildThe production-ready files will be in the dist directory.
- Paste your JSON into the input textarea
- Click "Format JSON"
- View the beautified output with syntax highlighting
- Click the copy icon to copy the formatted JSON
- Paste your SQL query into the input textarea
- Click "Format SQL"
- View the formatted query with proper indentation
- Copy the result using the copy button
Decode Mode (Base64 → Image):
- Paste a Base64 encoded image string
- The image will automatically preview in real-time
- Works with or without the
data:image/...prefix
Encode Mode (Image → Base64):
- Click "Switch to Encode" button
- Upload an image file (PNG, JPG, GIF, WebP)
- View the Base64 output and image preview
- Click "Copy" to copy the Base64 string to clipboard
- Dark Theme - Easy on the eyes for long coding sessions with glassmorphism effects
- Breathing Background - Subtle animated ambient background for visual appeal
- Responsive Design - Works on desktop and mobile devices
- Collapsible Sidebar - Toggle sidebar for more workspace
- Modern Icons - Clean and intuitive Lucide icons
- Smooth Animations - Polished transitions, tool selection effects, and interactions
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - feel free to use this project for personal or commercial purposes.
None at the moment! If you find any bugs, please open an issue.
- More developer tools (JWT decoder, Hash generator, etc.)
- Export/Import functionality for formatted code
- Theme customization options
- Keyboard shortcuts
- Multi-tab support for comparing outputs
Built with ❤️ using React + Vite + Tailwind CSS