<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Simran Kaur]]></title><description><![CDATA[I'm a science graduate with a Master's in Zoology from Sant Baba Bhag Singh University, currently exploring the intersection of technology, business analytics, ]]></description><link>https://simrankaur.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Tue, 15 Sep 2026 08:29:35 GMT</lastBuildDate><atom:link href="https://simrankaur.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Text to Binary: What Actually Happens When You Encode a String]]></title><description><![CDATA[Every string you type is a lie the screen tells you. The computer never sees "Hi", it sees 01001000 01101001. Understanding that translation is one of those small pieces of knowledge that quietly make]]></description><link>https://simrankaur.hashnode.dev/how-to-read-binary-code</link><guid isPermaLink="true">https://simrankaur.hashnode.dev/how-to-read-binary-code</guid><category><![CDATA[JavaScript]]></category><category><![CDATA[webdev]]></category><category><![CDATA[Programming Blogs]]></category><category><![CDATA[Computer Science]]></category><dc:creator><![CDATA[Simran Kaur]]></dc:creator><pubDate>Sun, 30 Aug 2026 07:38:01 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/68dd799570eb79621100af15/6c82edb2-60c7-4d46-9c4f-572c84d28f9a.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Every string you type is a lie the screen tells you. The computer never sees "Hi", it sees <code>01001000 01101001</code>. Understanding that translation is one of those small pieces of knowledge that quietly makes you better at debugging encodings, file formats, and network payloads.</p>
<p>Here is the whole idea in three steps.</p>
<h2>Step 1: A character is a number</h2>
<p>Text encoding starts with a lookup. Every character has a code point, a plain integer. In ASCII, the letter <code>A</code> is 65 and <code>a</code> is 97.</p>
<table>
<thead>
<tr>
<th>Character</th>
<th>Code</th>
<th>Binary</th>
</tr>
</thead>
<tbody><tr>
<td>A</td>
<td>65</td>
<td>01000001</td>
</tr>
<tr>
<td>H</td>
<td>72</td>
<td>01001000</td>
</tr>
<tr>
<td>i</td>
<td>105</td>
<td>01101001</td>
</tr>
<tr>
<td>space</td>
<td>32</td>
<td>00100000</td>
</tr>
</tbody></table>
<p>Notice the pattern: uppercase letters start with <code>010</code>, lowercase with <code>011</code>. That is not a coincidence, it is how the ASCII table was laid out.</p>
<h2>Step 2: The number becomes a byte</h2>
<p>A byte is eight bits. So each code point gets written as eight binary digits, padding with leading zeros when needed. This padding is the part people forget.</p>
<p><code>H</code> is 72, which is <code>1001000</code> in raw binary. That is only seven bits. Pad it to a full byte and you get <code>01001000</code>. Skip the padding and the whole string becomes impossible to split back apart.</p>
<h2>Step 3: Bytes become bits</h2>
<p>Line the bytes up and you have your binary string. "Hi" is:</p>
<p><code>01001000 01101001</code></p>
<p>To read it back, cut it into eight-bit chunks and reverse the lookup.</p>
<h2>Doing it in JavaScript</h2>
<p>The safe way uses <code>TextEncoder</code>, which gives you real UTF-8 bytes instead of relying on <code>charCodeAt</code>.</p>
<pre><code class="language-js">const textToBinary = (text) =&gt;
  Array.from(new TextEncoder().encode(text))
    .map((b) =&gt; b.toString(2).padStart(8, "0"))
    .join(" ");

const binaryToText = (bin) =&gt; {
  const bits = bin.replace(/\s+/g, "");
  const bytes = Uint8Array.from(
    { length: bits.length / 8 },
    (_, i) =&gt; parseInt(bits.slice(i * 8, i * 8 + 8), 2)
  );
  return new TextDecoder("utf-8").decode(bytes);
};

textToBinary("Hi");                 // "01001000 01101001"
binaryToText("01001000 01101001");  // "Hi"
</code></pre>
<h3><strong>The UTF-8 trap</strong></h3>
<p>ASCII fits in one byte, so one character equals eight bits. That comfortable assumption breaks the moment you leave plain English.</p>
<p><code>textToBinary("é"); // "11000011 10101001" (two bytes) textToBinary("🚀"); // four bytes, 32 bits</code></p>
<p>Accented letters, non-Latin scripts, and emoji all take more than one byte in UTF-8. Any converter built on charCodeAt and a fixed eight-bit assumption will silently corrupt them. TextEncoder and TextDecoder get it right because they speak actual UTF-8.</p>
<h3>A quick way to try it</h3>
<p>If you just want to convert something without opening a console, I put this exact logic behind a UI: the <a href="https://pixellize.io/text-to-binary">Text to Binary Translator</a> on Pixellize. It converts both directions as you type, handles full Unicode, and runs entirely in your browser, so nothing you paste leaves your machine.</p>
<h3>The takeaway</h3>
<p>Text to binary is character to code point, code point to byte, byte to eight bits. Pad every byte so the round trip stays reversible, and let UTF-8 tooling handle anything past plain ASCII. Once that clicks, encoding bugs stop feeling like magic and start looking like a checklist.</p>
]]></content:encoded></item><item><title><![CDATA[Pixellize – Free Online Tools for Image Editing, Compression & Website Management]]></title><description><![CDATA[Managing digital content can sometimes feel overwhelming. From resizing images to checking your website’s health, there are countless small tasks that take up valuable time. That’s where Pixellize comes in — a free, browser-based platform designed to...]]></description><link>https://simrankaur.hashnode.dev/pixellize-free-online-tools-for-image-editing-compression-and-website-management</link><guid isPermaLink="true">https://simrankaur.hashnode.dev/pixellize-free-online-tools-for-image-editing-compression-and-website-management</guid><category><![CDATA[pixellize]]></category><category><![CDATA[free tools]]></category><category><![CDATA[software development]]></category><dc:creator><![CDATA[Simran Kaur]]></dc:creator><pubDate>Wed, 01 Oct 2025 19:03:51 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1759345277627/aedcb7b0-716b-4e61-942e-3b87937fc11c.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Managing digital content can sometimes feel overwhelming. From resizing images to checking your website’s health, there are countless small tasks that take up valuable time. That’s where <strong>Pixellize</strong> comes in — a free, browser-based platform designed to simplify your workflow and handle multiple tasks in one place.</p>
<h2 id="heading-what-is-pixellize">What is Pixellize?</h2>
<p><a target="_blank" href="https://pixellize.com/"><code>Pixellize</code></a> is more than just an image tool. It’s an all-in-one online platform where you can edit images, compress files, convert formats, and even manage website-related tasks. No software downloads, no subscriptions — just open your browser, upload your file, and get started.</p>
<p>Whether you’re a content creator, marketer, designer, or website owner, Pixellize provides the tools you need to save time and improve efficiency.</p>
<h2 id="heading-key-features-youll-love">Key Features You’ll Love</h2>
<h3 id="heading-1-convert-images-instantly">1. Convert Images Instantly</h3>
<p>Switch between popular image formats like JPG, PNG, WEBP, SVG, BMP, HEIC, ICO, and TIFF. With Pixellize, your images are always ready for websites, social media, or other projects.</p>
<h3 id="heading-2-compress-without-losing-quality">2. Compress Without Losing Quality</h3>
<p>Large image files can slow down websites. Pixellize compresses images while keeping them clear and sharp, ensuring faster load times and a better user experience.</p>
<h3 id="heading-3-quick-and-easy-image-editing">3. Quick and Easy Image Editing</h3>
<p>Need to resize, crop, rotate, or add filters? Pixellize makes image editing fast and effortless, even without professional software.</p>
<h3 id="heading-4-llmstxt-generator">4. LLMs.txt Generator</h3>
<p>Generate LLMs.txt files for your site with the <a target="_blank" href="https://pixellize.com/free-llms-txt-generator">LLMs.txt Generator</a>, helping search engines understand AI-generated content.</p>
<h3 id="heading-5-websites-broken-link-checker">5. Websites Broken Link Checker</h3>
<p>Keep your website healthy and SEO-friendly by finding broken links with the <a target="_blank" href="https://pixellize.com/websites-broken-link-checker">Websites Broken Link Checker</a>.</p>
<h3 id="heading-6-xml-sitemap-generator">6. XML Sitemap Generator</h3>
<p>Easily create XML sitemaps using the <a target="_blank" href="https://pixellize.com/sitemap-generator">XML Sitemap Generator</a> to improve search engine indexing and rankings.</p>
<h3 id="heading-7-robotstxt-generator">7. Robots.txt Generator</h3>
<p>Control which pages search engines can crawl with the <a target="_blank" href="https://pixellize.com/robots-txt-generator">Robots.txt Generator</a>. It’s simple, fast, and effective.</p>
<h3 id="heading-8-youtube-thumbnail-downloader">8. YouTube Thumbnail Downloader</h3>
<p>Download thumbnails from YouTube videos instantly with the <a target="_blank" href="https://pixellize.com/youtube-thumbnail-downloader">YouTube Thumbnail Downloader</a>, perfect for content creators and marketers.</p>
<h3 id="heading-9-increase-image-size-in-kb">9. Increase Image Size in KB</h3>
<p>Need larger image files? Use <a target="_blank" href="https://pixellize.com/increase-image-size-in-kb">Increase Image Size in KB</a> to boost file size without compromising quality.</p>
<h3 id="heading-10-image-to-text">10. Image to Text</h3>
<p>Convert images into editable text with <a target="_blank" href="https://pixellize.com/image-to-text">Image to Text</a>, making it easy to extract content from screenshots, scans, or documents.</p>
<h2 id="heading-why-pixellize-is-perfect-for-you">Why Pixellize is Perfect for You</h2>
<ul>
<li><p><strong>All-in-One Platform:</strong> Handle images and website tools without juggling multiple apps.</p>
</li>
<li><p><strong>Free and Browser-Based:</strong> No installations, no costs, just open your browser and start.</p>
</li>
<li><p><strong>User-Friendly:</strong> Simple interface designed for everyone, from beginners to pros.</p>
</li>
<li><p><strong>Boost Productivity:</strong> Save time managing images, website files, and content efficiently.</p>
</li>
</ul>
<h2 id="heading-final-thoughts">Final Thoughts</h2>
<p>Whether you’re editing images, optimizing websites, or generating files for SEO, <strong>Pixellize</strong> is the smart, free solution that makes everything easier. Stop wasting time switching between tools — with Pixellize, everything you need is in one place.</p>
<p>Explore <a target="_blank" href="https://pixellize.com/">Pixellize</a> today and make managing digital content faster, smarter, and simpler than ever.</p>
]]></content:encoded></item></channel></rss>