Skip to content
25 articles

Encoding

25 technical articles and tutorials in the Encoding category

Encoding2026-10-11

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 more
Encoding2026-10-11

Base64 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 more
Encoding2026-09-21

Image 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 more
Encoding2026-09-13

Online 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 more
Encoding2026-09-13

Why 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 more
Encoding2026-09-13

Base64 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 more
Encoding2026-09-13

ASCII 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 more
Encoding2026-08-29

Character 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 more
Encoding2026-08-28

Chinese 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 more
Encoding2026-08-28

Base64 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 more
Encoding2026-08-28

How 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 more
Encoding2026-07-22

Online 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 more
Encoding2026-07-21

Online 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 more
Encoding2026-07-09

JWT 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 more
Encoding2026-06-26

Base64 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 more
Encoding2026-06-24

Online 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 more
Encoding2026-06-22

URL 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 more
Encoding2026-06-17

Online 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 more
Encoding2026-06-15

Complete 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 more
Encoding2026-05-28

Online 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 more
Encoding2026-05-28

Online 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 more
Encoding2026-05-22

Online 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 more
Encoding2026-05-21

Online 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 more
Encoding2026-05-18

Online 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 more
Encoding2026-05-17

Base64 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