MafLabs Engineering & Guides

Guides, Tutorials & Insights

Practical developer tutorials on APIs, JSON manipulation, webhook architecture, personal finance, and web productivity tools.

How to Compare Two JSON Files: Terminal (jq) vs Semantic Visual Diff

Learn why standard diff breaks on JSON, how to use jq -S for sorted terminal comparisons, and when to leverage browser semantic diffing.

Read tutorial →

How to Format, Validate, and Beautify JSON: A Practical Guide

Spot common syntax mistakes like trailing commas, inspect nested keys with collapsible branches, and format securely in your browser.

Read tutorial →

How to Convert Nested JSON to CSV: Flattening Hierarchies for Excel & Sheets

Learn dot-notation flattening, custom delimiter selection (comma vs semicolon), and converting JSON arrays into spreadsheets without server uploads.

Read tutorial →

How to Test REST APIs in Your Browser Without Installing Heavy Desktop Clients

Dispatch REST calls, inspect response status codes and headers, handle CORS proxy fallbacks, and configure dynamic environment variables.

Read tutorial →

The Complete Guide to Building cURL Commands for Bash, Windows CMD, and PowerShell

Master cross-platform cURL command syntax. Format quotes, headers, auth, and bodies across Linux, Windows CMD, and PowerShell without errors.

Read tutorial →

How to Test and Debug Webhooks in Real Time: Catch, Inspect, and Trigger Payloads

Learn why webhooks fail silently, how to verify HMAC cryptographic signatures (Stripe, GitHub), and catch real-time events over WebSockets.

Read tutorial →

25+ Free Online Micro-Calculators for Health, Personal Finance, and Everyday Life

Explore ad-free calculators for TDEE, macros, compound interest, loans, cooking conversions, and fuel costs with reactive client-side math.

Read tutorial →

8 Free Online Games for Couples: Date Night & Long-Distance Relationship Fun

Discover 8 multiplayer games for couples! Play the Newlywed Game, Couple Trivia, Connect 4, and Snakes & Ladders in instant private 2-player rooms.

Read tutorial →

9 Free Browser-Based Web Apps That Will Transform Your Daily Workflow (No Installation)

The modern shift toward zero-install, privacy-first web apps. An end-to-end breakdown of developer utilities, calculators, and games on MafLabs.

Read tutorial →

How to Decode and Verify JWT Tokens: Client-Side Security & Claims Guide

Learn how JSON Web Tokens work, inspect header/payload claims, verify HMAC and RSA signatures, and prevent security vulnerabilities.

Read tutorial →

How to Encode and Decode Base64: Text, Files, and URL-Safe Standards

Comprehensive guide to Base64 encoding. Learn RFC 4648 standards, UTF-8 multi-byte handling, URL-safe variants, and Data URLs.

Read tutorial →

How to Create and Download Professional PDF Invoices Online (Free & Private)

Generate professional PDF invoices with zero subscription fees. Customize logos, payment terms, GST/VAT rates, and dynamic UPI QR codes.

Read tutorial →

How to Fix Broken, Truncated, or Invalid JSON from ChatGPT & LLMs

Learn why LLMs generate invalid JSON, how to fix unclosed brackets, trailing commas, markdown wrappers, and truncated outputs deterministically.

Read tutorial →

How to Redact and Anonymize Sensitive Data Before Pasting into ChatGPT & AI Models

Protect API keys, customer emails, card numbers, and PII before prompting ChatGPT or Claude with reversible client-side tokenization workflows.

Read tutorial →

How to Generate Strict JSON Schema for OpenAI, Claude & Gemini from Sample JSON

Learn how to infer strict JSON Schemas from raw sample data for OpenAI Structured Outputs, Anthropic Claude tool calling, Gemini, Pydantic v2, and TypeScript.

Read tutorial →

How to Diff AI Prompts and Compile Mustache Variables (Token-Level Optimization)

Audit prompt iterations with token-level diffing, detect subtle instruction drifts, and compile parameterized prompt templates offline in your browser.

Read tutorial →

How to Detect and Remove Invisible Unicode Characters, ZWSP & Trojan Source Bidi Attacks

Learn how zero-width spaces, hidden Unicode tags, and Trojan Source bidirectional control characters break code compilers and prompt injection defenses.

Read tutorial →

How to View, Search, and Export ChatGPT History JSON to Markdown & HTML

Learn how to open OpenAI conversations.json data exports, filter historical prompts, search archives offline, and export chats to clean Markdown.

Read tutorial →

How to Split Large Documents & Code for ChatGPT and Claude (Token Limits)

Learn how to chunk massive documents, source code, and transcripts to fit ChatGPT, Claude, and LLM context windows with custom overlaps.

Read tutorial →

How to Validate, Format, and Fix JSON Lines (JSONL) for AI Datasets

Validate JSONL files line by line, inspect syntax errors, and convert between JSON, JSONL, and CSV for fine-tuning OpenAI and Hugging Face models.

Read tutorial →

How to Repair Broken, Malformed, and Unescaped CSV Files in Your Browser

Fix corrupted CSV files: repair unescaped quotes, mismatched column delimiters, ragged rows, and UTF-8 encoding issues without uploading files.

Read tutorial →

How to Fix Garbled Text, Mojibake, and Broken Character Encoding

Recover scrambled and garbled text (like é, ’, and –). Fix UTF-8 decoded as Windows-1252/ISO-8859-1 and HTML entity corruptions.

Read tutorial →

How to Create and Validate llms.txt and llms-full.txt for AI Search Engines

Learn the llms.txt proposal standard. Build structured markdown indexes to guide AI search bots, Perplexity, OpenAI, and Claude to your documentation.

Read tutorial →

How to Convert CSV to SQL CREATE TABLE and INSERT Statements Online

Convert CSV datasets into optimized SQL CREATE TABLE and batch INSERT queries for MySQL, PostgreSQL, SQLite, and Microsoft SQL Server.

Read tutorial →

How to Audit and Configure HTTP Security Headers (CSP, HSTS, CORS, Cookies)

Audit web application security headers. Learn how to configure CSP, HSTS, X-Frame-Options, and CORS with copy-paste Nginx and Apache snippets.

Read tutorial →

How to Verify Webhook HMAC Signatures (Stripe, GitHub, Shopify, Slack)

Test and debug webhook HMAC SHA256 signatures for Stripe, GitHub, Shopify, and Slack. Resolve signature mismatch bugs with offline tooling.

Read tutorial →

How to View, Filter, and Parse NDJSON and Structured JSON Log Files

Open and inspect massive NDJSON and structured JSON application logs in a fast, searchable table. Filter by log level, timestamp, and metadata.

Read tutorial →

How to Diff OpenAPI 3 Specifications and Detect Breaking API Changes

Compare two OpenAPI or Swagger specifications to detect breaking changes, removed endpoints, modified schemas, and generate changelogs.

Read tutorial →

How to Analyze Google Search Console CTR and Find Easy SEO Wins

Uncover low-CTR high-impression keywords, striking distance opportunities (positions 8-20), and optimize metadata from Search Console CSV exports.

Read tutorial →

How to Convert ChatGPT Markdown for WhatsApp, Slack, Gmail & Word

Learn how to convert ChatGPT markdown formatting into WhatsApp bold/italics, Slack syntax, clean Gmail HTML, and formatted Word documents.

Read tutorial →

How to Pack a Complete Codebase Folder into a Single Prompt for ChatGPT & Claude

Learn how to pack a multi-file project directory into a structured prompt for ChatGPT, Claude, and Gemini while respecting .gitignore and binary files.

Read tutorial →

How to Extract Files and Code Blocks from ChatGPT & Claude AI Replies into a ZIP

Extract multiple files, scripts, and components from long ChatGPT and Claude outputs. Download them as a clean ZIP archive with preserved file paths.

Read tutorial →

How to Detect Hidden Text, White Fonts & Invisible Prompt Injections in Documents

Detect invisible prompt injections, hidden white-on-white text, zero-point fonts, and zero-width characters in DOCX and HTML documents.

Read tutorial →

How to View and Strip Image EXIF, GPS Geolocation & AI Metadata Online

Inspect and remove EXIF data, GPS location coordinates, camera models, and AI-generation prompts from JPEG and PNG images without re-compressing.

Read tutorial →

How to Compress JSON to Save 60% on OpenAI & Claude Prompt Tokens

Learn how to compress repetitive JSON payloads into compact delimited tables and aliased schemas to reduce LLM prompt tokens and cut API expenses.

Read tutorial →

How to Convert API Requests Between OpenAI, Anthropic Claude & Google Gemini

Convert chat completion payloads, system prompts, and tool calling definitions seamlessly across OpenAI, Anthropic Claude, and Google Gemini API formats.

Read tutorial →

How to Analyze, Track, and Optimize OpenAI & Claude API Spending

Upload API usage exports to analyze token expenditure by model, detect cost spikes, track prompt cache economics, and forecast monthly LLM budgets.

Read tutorial →

How to Debug and Inspect Server-Sent Events (SSE) Streaming Logs from LLMs

Parse and inspect raw Server-Sent Events (SSE) streaming logs from OpenAI and Claude. Reconstruct full messages, tool arguments, and token timings.

Read tutorial →

How to Clean SRT, VTT, and Zoom Transcripts (Remove Timestamps & Merge Speakers)

Clean SRT, VTT, Zoom, and YouTube transcripts: remove timestamps and line numbers, deduplicate phrases, merge speaker turns, and format for AI.

Read tutorial →