Modern Base64 Conversion Tool
Type
CLI Tool & MCP Server
Language
TypeScript
Package
ayb64 on NPM
🎨 Eight Output Formats
Raw base64 strings for direct use
JSON format with comprehensive metadata
JavaScript and TypeScript modules for web development
CSS custom properties and HTML documents
XML, YAML, and Markdown formats for documentation
Data URIs ready for immediate web use
🔍 Smart File Detection
Industry-leading MIME type detection using file-type and mime-types packages
Support for 100+ file types including images, documents, archives, and media
Automatic format recognition via magic numbers and binary signatures
Comprehensive metadata extraction including file size, creation dates, and checksums
🤖 MCP Server for AI Workflows
Built-in Model Context Protocol server optimized for AI agents
Smart memory with LRU cache and job recall by ID
Change detection using SHA256 checksums
Specialized tools for encoding, decoding, data URI generation, and job management
⚡ Performance & Reliability
Memory-efficient implementation with optimized heap usage
Cross-platform support: macOS, Linux, Windows, Docker, Cloud
Comprehensive error handling with helpful suggestions
Benchmarked performance scaling reasonably with file size
Technology Stack
TypeScript
Node.js CLI
Commander.js
file-type & mime-types
Vitest Testing
ESLint & Prettier
Model Context Protocol (MCP)
NPM Package Distribution
Beyond Basic Conversion
While basic base64 tools simply convert files to strings, All Your Base64 provides a complete modern solution with eight output formats, AI integration through MCP server, smart detection of 100+ file types, rich metadata, web-ready data URIs, and production-ready reliability. Perfect for developers who need more than just basic file-to-base64 conversion.
🚀 Developer Impact
All Your Base64 transforms the traditionally simple task of base64 encoding into a powerful, modern development tool. By providing multiple output formats, comprehensive metadata, and AI workflow integration through its MCP server, developers can seamlessly incorporate base64 conversion into their projects, CI/CD pipelines, and AI-assisted development workflows. The tool's intelligent file detection and cross-platform reliability make it an essential utility for modern web development and automation tasks.

