UtilityAPI
Fast, reliable utility APIs for developers. QR codes, text processing, validation, hashing, and metadata scraping — all in one place.
Quick Start
// Example: Generate a QR code const res = await fetch("https://YOUR_DOMAIN/api/qr/generate", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ text: "https://example.com" }) }); const data = await res.json(); // => { success: true, format: "png", base64: "iVBOR...", dataUrl: "data:image/png;..." }
API Endpoints
QR Code API
Generate and decode QR codes instantly
/api/qr/generateGenerate a QR code from text or URL
Example request body
{
"text": "https://example.com",
"format": "png",
"width": 300
}/api/qr/decodeDecode a QR code from a base64 image
Example request body
{
"image": "<base64-image-data>"
}Text Processing API
Transform, convert, and analyze text
/api/text/slugifyConvert text to URL-safe slug
Example request body
{
"text": "Hello World! This is a test"
}/api/text/loremGenerate lorem ipsum paragraphs
Example request body
{
"paragraphs": 3,
"format": "text"
}/api/text/markdownConvert Markdown to HTML
Example request body
{
"markdown": "# Hello\\n**Bold text**"
}/api/text/reading-timeEstimate reading time for text
Example request body
{
"text": "Your article content here...",
"wpm": 200
}/api/text/case-convertConvert between camelCase, snake_case, etc.
Example request body
{
"text": "hello world example",
"case": "camel"
}/api/text/csv-to-jsonParse CSV text into JSON
Example request body
{
"csv": "name,age\\nAlice,30\\nBob,25",
"headers": true
}Validation API
Validate emails, URLs, phone numbers, and more
/api/validate/emailValidate email format and check MX records
Example request body
{
"email": "user@example.com"
}/api/validate/urlValidate URL format and optionally check reachability
Example request body
{
"url": "https://example.com",
"checkReachable": true
}/api/validate/phoneValidate and format phone numbers internationally
Example request body
{
"phone": "+1 (555) 123-4567",
"country": "US"
}/api/validate/credit-cardValidate card number format with Luhn check
Example request body
{
"number": "4111 1111 1111 1111"
}Hash & Crypto API
Hashing, encryption utilities, and random generation
/api/hash/md5Generate MD5 hash
Example request body
{
"text": "hello world"
}/api/hash/sha256Generate SHA hash (256, 512, 384, 1)
Example request body
{
"text": "hello world",
"algorithm": "sha256"
}/api/hash/bcryptHash or verify bcrypt passwords
Example request body
{
"text": "mypassword",
"rounds": 10
}/api/crypto/uuidGenerate UUID v4 identifiers
Example request body
{
"count": 5
}/api/crypto/passwordGenerate secure random passwords
Example request body
{
"length": 20,
"count": 3,
"symbols": true
}/api/crypto/base64Encode or decode Base64
Example request body
{
"data": "Hello World",
"action": "encode"
}Meta Scraper API
Extract metadata and Open Graph tags from any URL
/api/meta/scrapeScrape title, description, OG tags, Twitter cards, and favicon
Example request body
{
"url": "https://github.com"
}