Encoding
33 technical articles and tutorials in the Encoding category
WebP to JPG: Converting Back Without Wrecking Quality (and Why You Sometimes Must)
WebP won the web but old software still rejects it. How WebP→JPG conversion works, where quality is inevitably lost, what quality setting to pick, and a no-upload converter for the job.
Read moreWebP to JPG Without Wrecking Quality: Boundaries, Parameters, and a No-Upload Converter
WebP won the web but old software still rejects it. What actually happens in a WebP→JPG conversion, which losses are unavoidable, which quality setting to pick — with a local browser converter.
Read moreJPG to WebP Converter: How Batch Conversion Works Without Uploading Your Photos
A practical guide to converting JPG to WebP — what quality setting actually does, why batch mode differs from single-file conversion, and how local browser conversion keeps photos off third-party servers.
Read moreJPG to WebP: When It's Worth It, and How to Convert Without Losing Quality
How much smaller is WebP than JPG, when you should NOT convert, and which quality setting to pick? The decision criteria, browser-local conversion walkthrough (no uploads), and a WebP/JPG/PNG selection table.
Read morePDF to JPG: How to Pick the Right Resolution (DPI Guide + 3 Ways)
A complete guide to converting PDF pages to JPG: how DPI maps to sharpness, two-page and batch conversion, three approaches compared (in-browser local, command line, desktop software), plus a quality settings cheat sheet.
Read morePDF Too Large for Email? How to Choose the Right Compression Quality (3 Local Levels)
How PDF compression works: lossy rasterization vs. lossless structure optimization, which of the three quality levels fits which use, and how to compare sizes before and after — entirely in your browser.
Read moreHow to Split a PDF and Extract Pages: Range Syntax, Common Cases, and a Local Workflow
A complete guide to splitting PDFs by page range: the 1-3,5 range syntax, page-by-page extraction, and split-then-merge workflows — all in your browser, nothing uploaded.
Read moreHow to Merge PDFs: 3 Ways Compared (Local, CLI, Desktop)
Three ways to merge PDF files: in-browser local merging, the qpdf command line, and desktop software. Covers page-ordering tricks, encrypted-file handling, and how to verify a tool never uploads anything.
Read moreJWT exp/nbf Clock Skew: Seconds vs Milliseconds, Leeway, and “Expired on Issue”
When JWT verification says Token expired or used before issued, check NumericDate units (seconds vs ms), NTP, and 30–60s leeway. Use the on-site decoder timeline and alg=none warning — and separate TLS cert failures from app-token 401s.
Read moreBase64 vs Base64URL: Padding, JWT Segments, and PEM Line Wraps
Standard Base64 and Base64URL differ in alphabet and padding. Learn how JWT’s three segments use Base64URL, why PEM wraps at 64 characters, and how to stop decode failures when tools disagree.
Read moreImage Formats Explained: JPG, PNG, WebP, HEIC, and SVG — Which One, When, and How to Convert
A practical guide to choosing image formats: what JPG, PNG, WebP, HEIC and SVG are actually good at, when compression hurts, why transparency changes everything, honest boundaries of browser converters, and how to convert without stacking damage.
Read moreOnline Base64 to Image Converter: Decode Base64 Strings to Image Files
Learn how to convert Base64 encoded strings back to image files. Understand Base64 decoding principles, common image MIME types, and real-world Web development use cases.
Read moreWhy Does Base64 Make Files 33% Larger? Encoding Overhead Explained
Base64 size increase is ~33%: every 3 bytes become 4 characters. Worked examples for Hi, Hello, and 1MB files, plus when the overhead matters.
Read moreBase64 Encoding Explained: Unicode, URL-Safe Variants, and Size Increase
Understand Base64 encoding internals, why Base64 size increase is ~33%, Unicode-safe Chinese/Emoji handling, and URL-safe variants for web development.
Read moreASCII vs Unicode vs UTF-8: Character Encoding Finally Explained
ASCII has 128 characters, Unicode covers 140k+, UTF-8 is Unicode's variable-length encoding. Learn the difference, byte vs character length, and why most encoding bugs happen.
Read moreCharacter Encoding Troubleshooting Handbook: Mojibake, URL Encoding, and Base64 Explained
Chinese turning into ??? or é”±? %E4%B8%AD unreadable? This handbook classifies by symptom — real mojibake, URL percent-encoding, Unicode escaping, and Base64 with Chinese, plus an encoding primer and a debugging workflow.
Read moreChinese Turns Into %E4%B8%AD (Percent Encoding) in a URL — Is That Normal?
URL Chinese becomes a string of %XX percent-encoding — is that normal? Why encoding is needed, how it works, how to decode, and how to handle it in front-end, with our URL tool.
Read moreBase64 Decode Shows Garbled Text or Black Question Marks for Chinese — How to Fix
Base64 decode turns Chinese into mojibake or black question marks? Explains the root cause — Base64 encodes bytes, not characters — and gives command-line, code, and online-tool fixes, all processed locally.
Read moreHow to Batch Encode Multiple Files or Texts to Base64 (No Script Needed)
Need to convert dozens of images or strings to Base64 at once? Learn batch Base64 encoding and step-by-step how to do it locally without uploading files or writing scripts.
Read moreOnline JWT Decoder Tools Compared (2026)
Comparing 4 popular online JWT decoders across signature verification, privacy, and expiration checks: jwt.io's ecosystem, Base64Decode's convenience, ToolVault's local processing — each owns different scenarios. Includes a 401 triage path and reproducible verification methods.
Read moreOnline Base64 Encoder and Decoder Tools Compared (2026)
Comparing 4 popular online Base64 tools across Unicode safety, privacy, batch capability, and cost: RapidTables goes broad, Browserling does batch, ToolVault runs locally — each has its place. Includes the btoa trap, base64url variants, and reproducible verification methods.
Read moreJWT Explained: Structure, Signature Verification, and Security Practices
Deep dive into JWT three-part structure, HS256 signature verification, and common pitfalls: alg=none, expiry units, and cookie vs storage.
Read moreBase64 vs Hex Encoding: When to Use Which? Density vs Readability
Hex is 2 chars per byte (100% overhead); Base64 is ~1.33 chars per byte (33% overhead). Compare density, readability, and typical use cases. Includes a worked 'Hello' encoding example.
Read moreOnline Image Compressor: Shrink JPEG, PNG, and WebP
Compress images in the browser: quality and width presets, format conversion, before/after size stats, EXIF stripping boundaries, and practical web performance workflows.
Read moreURL Encoding Explained: How to Handle Spaces, Chinese Characters & Special Symbols
Learn how percent encoding works for spaces, Chinese characters, and special symbols. Understand %20 vs +, UTF-8 multi-byte encoding, and avoid double encoding bugs.
Read moreOnline HTML Entity Encoder/Decoder: Safely Handle Special Characters
Learn HTML entity encoding fundamentals. Understand how to convert special characters to HTML entities, prevent XSS attacks, and use encoding in frontend development.
Read moreComplete Guide to Regular Expressions: From Beginner to Advanced
Deep dive into regex core syntax, common patterns, and practical usage. Master character classes, quantifiers, groups, lookaround, and advanced features to boost your text processing efficiency.
Read moreOnline URL Encoder/Decoder: Percent-Encoding Explained
Learn URL encoding (percent-encoding): when to encode, space as %20 vs +, double-encoding triage, and Component vs Full URI mode.
Read moreOnline Base32/Base58 Encoder: Alphabets, Checksums, and Base64 Size Compare
See how Base32, Base58, and Base64 differ: RFC 4648 vs Crockford alphabets, Base58Check double SHA-256 validation, size overhead, and when to switch to Base64.
Read moreOnline Unicode Encoder/Decoder: Handle Unicode Character Conversion
Learn Unicode encoding and decoding principles. Understand UTF-8, UTF-16, and escape sequences, and how to convert code points, surrogate pairs, and UTF-8 bytes online.
Read moreOnline Image to Base64 Converter: Encode Images to Text Strings
Learn how to convert image files to Base64 encoded strings. Understand Base64 encoding principles, use cases, and how to inline images in frontend development.
Read moreOnline HTML/Markdown Converter: Convert Between Document Formats
Aligned with ToolVault's HTML↔Markdown implementation: Turndown (HTML→MD) and marked (MD→HTML), GFM table loss, round-trip fidelity and safety boundaries, plus preview/YAML/JSON/Diff workflows.
Read moreBase64 Encoding Chinese Characters Produces Garbage? Root Cause and the Correct Way to Handle It
Base64-encoded Chinese coming back as garbage? This article explains the base64 Chinese garbled-text problem caused by UTF-8 vs GBK encoding mismatch, and provides the correct JavaScript encode/decode methods with code examples to thoroughly solve base64 decoding garbage.
Read more