<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Craig George</title>
    <description>The latest articles on DEV Community by Craig George (@craig_george_4cd7d46650e4).</description>
    <link>https://dev.to/craig_george_4cd7d46650e4</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4189720%2Fb40f0799-2d29-4506-8e3f-f342e80d5c41.jpg</url>
      <title>DEV Community: Craig George</title>
      <link>https://dev.to/craig_george_4cd7d46650e4</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/craig_george_4cd7d46650e4"/>
    <language>en</language>
    <item>
      <title>Generating Natural-Sounding Text Without an LLM: A Report Comment Generator in Plain JavaScript</title>
      <dc:creator>Craig George</dc:creator>
      <pubDate>Tue, 20 Oct 2026 00:47:02 +0000</pubDate>
      <link>https://dev.to/craig_george_4cd7d46650e4/generating-natural-sounding-text-without-an-llm-a-report-comment-generator-in-plain-javascript-g13</link>
      <guid>https://dev.to/craig_george_4cd7d46650e4/generating-natural-sounding-text-without-an-llm-a-report-comment-generator-in-plain-javascript-g13</guid>
      <description>&lt;p&gt;Teachers write hundreds of report card comments a term. Many reach for ChatGPT, but that usually means pasting student details into a third-party tool, which most school privacy policies forbid. So when I built a report comment generator, I set two rules: no AI model, and nothing typed leaves the browser.&lt;/p&gt;

&lt;p&gt;It turned out you can get surprisingly natural output from a few hundred lines of plain JavaScript. Here's how it works.&lt;/p&gt;

&lt;h2&gt;
  
  
  The structure of a good comment
&lt;/h2&gt;

&lt;p&gt;A useful report comment has four parts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An opening that matches the achievement level ("has achieved a sound standard in Mathematics").&lt;/li&gt;
&lt;li&gt;One or two specific strengths.&lt;/li&gt;
&lt;li&gt;One clear next step.&lt;/li&gt;
&lt;li&gt;Optionally, effort and a way home can help.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That structure is fixed. What varies is the wording, so the job is mostly about storing good phrases and fitting them together grammatically.&lt;/p&gt;

&lt;h2&gt;
  
  
  Phrase banks, keyed by subject and year band
&lt;/h2&gt;

&lt;p&gt;Strengths and next steps live in banks keyed by subject and year band. English and maths have separate early, middle and secondary banks, because "blends letter sounds" and "integrates quotations into an essay" don't belong in the same list.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;BANK&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;maths-mid&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;s&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;recall multiplication facts quickly and accurately&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;measure and ^convert between metric units&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="na"&gt;n&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;estimating answers first to check whether they are reasonable&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;showing all working in multi-step problems&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="na"&gt;h&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;practising times tables for a few minutes each day&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Strengths are stored as verb phrases in their base form. Next steps are stored as "-ing" phrases, so they slot straight into "A next step is …" or "should focus on …".&lt;/p&gt;

&lt;h2&gt;
  
  
  The caret trick for verb agreement
&lt;/h2&gt;

&lt;p&gt;The same strength has to work in two grammatical shapes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"Sam &lt;strong&gt;can&lt;/strong&gt; measure and convert between metric units" (base form)&lt;/li&gt;
&lt;li&gt;"Sam &lt;strong&gt;measures&lt;/strong&gt; and &lt;strong&gt;converts&lt;/strong&gt; between metric units" (third person)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Rather than storing both, I mark every verb after the first with a caret (&lt;code&gt;^&lt;/code&gt;). The first word is always a verb, so a tiny conjugation function handles the rest:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;conj&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;v&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;v&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;have&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;has&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sr"&gt;/&lt;/span&gt;&lt;span class="se"&gt;[^&lt;/span&gt;&lt;span class="sr"&gt;aeiou&lt;/span&gt;&lt;span class="se"&gt;]&lt;/span&gt;&lt;span class="sr"&gt;y$/&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;v&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;v&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;slice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;ies&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sr"&gt;/&lt;/span&gt;&lt;span class="se"&gt;(&lt;/span&gt;&lt;span class="sr"&gt;s|sh|ch|x|z|o&lt;/span&gt;&lt;span class="se"&gt;)&lt;/span&gt;&lt;span class="sr"&gt;$/&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;test&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;v&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;v&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;es&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;v&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;s&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;third&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;phrase&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;w&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;phrase&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt; &lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="nx"&gt;w&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;conj&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;w&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]);&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;w&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;function &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;x&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;charAt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;^&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="nf"&gt;conj&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;x&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;slice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;x&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}).&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt; &lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;base&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;phrase&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;phrase&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;replace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sr"&gt;/&lt;/span&gt;&lt;span class="se"&gt;\^&lt;/span&gt;&lt;span class="sr"&gt;/g&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;""&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;third("measure and ^convert")&lt;/code&gt; gives "measures and converts", and &lt;code&gt;base()&lt;/code&gt; just strips the carets. Because I write every phrase in the bank myself, a handful of rules covers every verb that actually appears. There's no need for a full English conjugator.&lt;/p&gt;

&lt;p&gt;Pronouns add one more wrinkle. With "they", the verb stays in its base form ("they measure"), so the code skips &lt;code&gt;third()&lt;/code&gt; when the pronoun is plural.&lt;/p&gt;

&lt;h2&gt;
  
  
  Matching tone to achievement level
&lt;/h2&gt;

&lt;p&gt;Each achievement level carries its own opening sentence, and a flag that changes how strengths are phrased. For students working towards or below the expected level, strengths come out as "can now, with support, …" instead of a flat statement. That keeps comments honest without sounding harsh, which is the hardest part of writing them by hand.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three variants, so comments don't all sound the same
&lt;/h2&gt;

&lt;p&gt;If thirty comments in a class open the same way, parents notice. So &lt;code&gt;build()&lt;/code&gt; assembles three versions from the same inputs, with different openings and orderings: one leads with the achievement level, one leads with a highlight, and one leads with what the student can do. The teacher picks one and edits it. Each variant shows a word count, because schools often set limits.&lt;/p&gt;

&lt;h2&gt;
  
  
  Optional AI, without the student's name
&lt;/h2&gt;

&lt;p&gt;Some teachers still want an AI to polish the wording, so the tool also builds a prompt from the same inputs. It never includes the name the teacher typed. It uses a [Name] placeholder, and adds rules like "Only use the information above. Do not invent achievements, behaviours or grades." The teacher can paste that into their school's approved AI tool, and no identifying details go with it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd take from this
&lt;/h2&gt;

&lt;p&gt;For narrow, structured writing, templates plus a carefully written phrase bank beat a language model on privacy, cost and predictability. The output never makes up a fact, and it works offline. The trade-off is that someone has to write the phrases well. That's where the real effort goes, not the code.&lt;/p&gt;

&lt;p&gt;You can try the result at &lt;a href="https://toolbelt.store/tools/report-comment-generator/" rel="noopener noreferrer"&gt;Toolbelt's free report comment generator&lt;/a&gt;. It covers Foundation to Year 10, and everything runs in your browser.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>privacy</category>
    </item>
    <item>
      <title>Why a 1 TB Drive Shows Up as 931 GB (and Other Unit Traps)</title>
      <dc:creator>Craig George</dc:creator>
      <pubDate>Sat, 17 Oct 2026 02:28:21 +0000</pubDate>
      <link>https://dev.to/craig_george_4cd7d46650e4/why-a-1-tb-drive-shows-up-as-931-gb-and-other-unit-traps-2knh</link>
      <guid>https://dev.to/craig_george_4cd7d46650e4/why-a-1-tb-drive-shows-up-as-931-gb-and-other-unit-traps-2knh</guid>
      <description>&lt;p&gt;You buy a 1 TB hard drive, plug it in, and your computer says 931 GB. It's not faulty and you haven't been cheated. It's one of several everyday unit traps that catch people out. Here are the most common ones and how to avoid them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Decimal versus binary storage
&lt;/h2&gt;

&lt;p&gt;Drive makers count in decimal: 1 TB is 1,000,000,000,000 bytes. Many operating systems count in binary, where 1 "GB" really means 1 gibibyte, or 1,073,741,824 bytes. Divide the drive's bytes by the binary figure and you get about 931. Same drive, two ways of counting.&lt;/p&gt;

&lt;p&gt;The fix is simply to know which one you're looking at. The binary units have their own names (KiB, MiB, GiB, TiB), and when you see those, you know the larger divisor is in use.&lt;/p&gt;

&lt;h2&gt;
  
  
  US and imperial units share names but not sizes
&lt;/h2&gt;

&lt;p&gt;A US gallon is about 3.785 litres. An imperial gallon is about 4.546 litres. That's a difference of roughly 20 per cent, under the same name. The same goes for pints and fluid ounces. If a recipe or fuel figure comes from the UK and you're reading it in the US (or the other way round), check which gallon or pint it means.&lt;/p&gt;

&lt;h2&gt;
  
  
  There are three kinds of ton
&lt;/h2&gt;

&lt;p&gt;A short ton (US) is 2,000 lb. A long ton (UK) is 2,240 lb. A metric tonne is 1,000 kg, or about 2,205 lb. In freight and shipping, mixing these up costs real money.&lt;/p&gt;

&lt;h2&gt;
  
  
  Area factors are squared
&lt;/h2&gt;

&lt;p&gt;If 1 metre is about 3.28 feet, then 1 square metre is about 3.28 × 3.28, or roughly 10.76 square feet, not 3.28. People convert length correctly and then forget to square it for area. This is where floor-plan and flooring estimates go wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  Temperature needs an offset, not just a multiplier
&lt;/h2&gt;

&lt;p&gt;Most conversions are a single multiplication. Celsius to Fahrenheit isn't: you multiply by 9/5 and then add 32. That's why 0 °C is 32 °F, not 0 °F. Celsius and Fahrenheit meet at exactly one point, −40, where both scales read the same.&lt;/p&gt;

&lt;h2&gt;
  
  
  "Knots per hour" is wrong
&lt;/h2&gt;

&lt;p&gt;A knot is already a speed: one nautical mile per hour, or exactly 1.852 km/h. Saying "knots per hour" describes acceleration, not speed.&lt;/p&gt;

&lt;h2&gt;
  
  
  See the scale, not just the answer
&lt;/h2&gt;

&lt;p&gt;Most online converters give you one number and stop. That's fine for a single conversion, but it hides how the two units relate, which is exactly where these traps live.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://calculateconversion.online/" rel="noopener noreferrer"&gt;Calculate Conversion&lt;/a&gt; is a site I built to take a different approach. Each converter shows both scales side by side, so when you convert 1 inch to 2.54 cm you can also read off 0.5, 1.5 and 2 inches at a glance. It lists the exact conversion factor it uses, covers length, weight, temperature, volume, area, speed, pressure, energy, time and data storage, and runs entirely in your browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Storage: decimal (GB) versus binary (GiB) explains the "missing" space.&lt;/li&gt;
&lt;li&gt;Gallons, pints and fluid ounces differ between US and imperial.&lt;/li&gt;
&lt;li&gt;Short ton, long ton and metric tonne are three different weights.&lt;/li&gt;
&lt;li&gt;Square the factor for area.&lt;/li&gt;
&lt;li&gt;Temperature needs an offset as well as a multiplier.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once you know where the traps are, unit conversions stop being a source of surprises.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>learning</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How to Get a Table Out of a PDF Without Uploading the File</title>
      <dc:creator>Craig George</dc:creator>
      <pubDate>Sat, 17 Oct 2026 02:25:58 +0000</pubDate>
      <link>https://dev.to/craig_george_4cd7d46650e4/how-to-get-a-table-out-of-a-pdf-without-uploading-the-file-204m</link>
      <guid>https://dev.to/craig_george_4cd7d46650e4/how-to-get-a-table-out-of-a-pdf-without-uploading-the-file-204m</guid>
      <description>&lt;p&gt;Bank statements, invoices and supplier price lists often arrive as PDFs. When you need the numbers in a spreadsheet, the usual advice is to upload the file to an online converter. For anything containing account numbers, client names or pricing, that's a real privacy cost. Here's how to do it without sending the file anywhere.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why copy-paste rarely works
&lt;/h2&gt;

&lt;p&gt;A PDF doesn't store a table as rows and columns. It stores each piece of text at an exact position on the page. When you copy and paste into Excel, those positions are lost, so columns merge, descriptions split across rows, and numbers land in the wrong cells.&lt;/p&gt;

&lt;p&gt;To get a usable grid, a tool has to rebuild the table from those positions: group characters that share a baseline into rows, then find the vertical gaps of white space that separate one column from the next.&lt;/p&gt;

&lt;h2&gt;
  
  
  First check: is your PDF text-based?
&lt;/h2&gt;

&lt;p&gt;Try selecting a single word in the PDF with your cursor. If you can highlight individual words, the PDF contains real text and can be converted directly. If the whole page highlights as one image, it's a scan. Scans need OCR (optical character recognition) first to turn the image into text, and you should check OCR output carefully: it often confuses 0 and O, 1 and I, and drops decimal points or minus signs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Converting in the browser
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://pdftogrid.online/" rel="noopener noreferrer"&gt;PDFtoGrid&lt;/a&gt; is a free tool I built that does the table reconstruction in your browser. The PDF is read by JavaScript on the page itself, so the file isn't sent to a conversion server. That matters when the document is a payroll run or a client's statement.&lt;/p&gt;

&lt;p&gt;The process is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Load the PDF.&lt;/strong&gt; Drop it onto the page or choose the file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pick the pages.&lt;/strong&gt; Use a page range (for example 2-9, or 1,4,11) to skip cover and terms pages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the preview.&lt;/strong&gt; The extracted table appears as an editable grid. Click any cell to fix a value.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adjust column spacing.&lt;/strong&gt; If two columns have merged, lower the spacing value. If one column has split in two, raise it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Combine pages if needed.&lt;/strong&gt; For a statement that runs over several pages, you can combine them into one table and skip repeated headers and footers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Download.&lt;/strong&gt; Export as XLSX or CSV, or copy to the clipboard.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;There's no signup, page limit or watermark.&lt;/p&gt;

&lt;h2&gt;
  
  
  Always sanity-check the totals
&lt;/h2&gt;

&lt;p&gt;Whatever tool you use, check the result before you rely on it. The simplest test is to add up a column and compare it with the total printed on the original. For an invoice, check that each line's quantity times its price equals the line total. A two-minute check catches the occasional misread before it ends up in your accounts.&lt;/p&gt;

&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Copy-paste breaks tables because PDFs store positions, not cells.&lt;/li&gt;
&lt;li&gt;Check that the PDF is text-based; scans need OCR first.&lt;/li&gt;
&lt;li&gt;An in-browser converter keeps sensitive files on your own device.&lt;/li&gt;
&lt;li&gt;Adjust column spacing until each column lines up.&lt;/li&gt;
&lt;li&gt;Always check totals against the original.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>pdf</category>
      <category>privacy</category>
      <category>productivity</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
