Encoding
25 technical articles and tutorials in the Encoding category
JWT 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, and how to convert between formats without losing quality.
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 leading online JWT decoder tools across signature verification, privacy protection, and feature completeness. ToolVault stands out with local decoding and HS256 signature verification.
Read moreOnline Base64 Encoder and Decoder Tools Compared (2026)
Comparing leading online Base64 encoder and decoder tools across Unicode support, privacy protection, and ease of use. ToolVault stands out with local processing and Unicode-safe encoding.
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: Optimize JPEG, PNG, WebP Images
Learn how to use an online image compressor to reduce image file sizes. Understand JPEG, PNG, WebP format differences, lossy vs lossless compression, and image optimization strategies for web performance.
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 best practices. 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) fundamentals. Understand when and why to encode URLs, special character handling, and best practices for web development.
Read moreOnline Base32/Base58 Encoder: Multi-Format Encoding Converter
Learn the differences between Base32 and Base58 encoding and their use cases. Understand how to convert between Base32, Base58, Base64 and other encoding formats for data transfer and blockchain applications.
Read moreOnline Unicode Encoder/Decoder: Handle Unicode Character Conversion
Learn Unicode encoding and decoding principles. Understand differences between UTF-8, UTF-16, and Unicode escape sequences, and how to use an online tool for Unicode conversion.
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
Learn how to convert between HTML and Markdown formats. Understand Markdown syntax features and applications in documentation, blog publishing, and README creation.
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