<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Base64 on JsonKit Blog</title>
    <link>https://jsokit.com/blog/tags/base64/</link>
    <description>Recent content in Base64 on JsonKit Blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>© 2025 JsonKit</copyright>
    <lastBuildDate>Wed, 11 Mar 2026 17:55:24 +0000</lastBuildDate>
    <atom:link href="https://jsokit.com/blog/tags/base64/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Building a JWT Debugger in the Browser: Base64URL Decoding and Signature Verification</title>
      <link>https://jsokit.com/blog/posts/building-a-jwt-debugger-in-the-browser-base64url-decoding-and-signature-verification/</link>
      <pubDate>Wed, 11 Mar 2026 17:55:24 +0000</pubDate>
      <guid>https://jsokit.com/blog/posts/building-a-jwt-debugger-in-the-browser-base64url-decoding-and-signature-verification/</guid>
      <description>Building a JWT Debugger in the Browser: Base64URL Decoding and Signature Verification If you&amp;rsquo;re a backend developer, you&amp;rsquo;ve probably pasted a JWT into jwt.io more times than you can count. But have you ever thought about what happens behind the scenes when you hit that &amp;ldquo;decode&amp;rdquo; button? Let&amp;rsquo;s walk through building one from scratch.&#xA;The Three-Part JWT Structure A JWT looks like this:&#xA;eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9. eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIn0. SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c Three dot-separated segments: Header, Payload, Signature.</description>
    </item>
    <item>
      <title>Image to Base64 Conversion: A Deep Dive into FileReader API and Data URL Implementation</title>
      <link>https://jsokit.com/blog/posts/image-to-base64-conversion-a-deep-dive-into-filereader-api-and-data-url-implementation/</link>
      <pubDate>Fri, 20 Feb 2026 10:06:49 +0000</pubDate>
      <guid>https://jsokit.com/blog/posts/image-to-base64-conversion-a-deep-dive-into-filereader-api-and-data-url-implementation/</guid>
      <description>Image to Base64 Conversion: A Deep Dive into FileReader API and Data URL Implementation I recently worked on an image upload feature that needed preview and Base64 conversion. Thought it was just calling an API, but ended up hitting several walls—memory overflow with large files, cross-origin image loading failures, MIME type misidentification&amp;hellip; So I decided to document the complete implementation approach.&#xA;The Essence of Base64 Encoding Base64 isn&amp;rsquo;t encryption—it&amp;rsquo;s encoding. It transforms binary data into printable ASCII characters, making it safe to transmit over text-based protocols (HTTP, JSON, XML).</description>
    </item>
    <item>
      <title>Building a Code Sharing Tool: URL Hash Storage and Base64 Encoding Techniques</title>
      <link>https://jsokit.com/blog/posts/building-a-code-sharing-tool-url-hash-storage-and-base64-encoding-techniques/</link>
      <pubDate>Fri, 30 Jan 2026 15:09:21 +0000</pubDate>
      <guid>https://jsokit.com/blog/posts/building-a-code-sharing-tool-url-hash-storage-and-base64-encoding-techniques/</guid>
      <description>Building a Code Sharing Tool: URL Hash Storage and Base64 Encoding Techniques Recently, I built a code sharing tool that requires a &amp;ldquo;no backend, permanent validity&amp;rdquo; sharing mechanism. After researching several approaches, I chose URL Hash + Base64 encoding - simple and reliable.&#xA;Why URL Hash Storage? Traditional code sharing tools use two approaches:&#xA;Backend database storage - Store code in database, generate short links. Pros: short links. Cons: needs backend, storage cost, links can expire.</description>
    </item>
    <item>
      <title>Base64 Encoding/Decoding: From btoa to Full Unicode Support</title>
      <link>https://jsokit.com/blog/posts/base64-encodingdecoding-from-btoa-to-full-unicode-support/</link>
      <pubDate>Sat, 24 Jan 2026 15:39:10 +0000</pubDate>
      <guid>https://jsokit.com/blog/posts/base64-encodingdecoding-from-btoa-to-full-unicode-support/</guid>
      <description>Base64 Encoding/Decoding: From btoa to Full Unicode Support I recently worked on a project requiring safe text data transmission, and Base64 encoding was unavoidable. While I&amp;rsquo;ve used it countless times, implementing a reliable tool revealed some interesting details worth sharing.&#xA;What is Base64? Simply put, Base64 is a method to represent binary data using 64 printable characters:&#xA;Uppercase letters A-Z (26 characters) Lowercase letters a-z (26 characters) Digits 0-9 (10 characters) + and / (2 characters) Plus = for padding at the end.</description>
    </item>
  </channel>
</rss>
