Dimension Text Extractor

Paste product or spec text and an AI model in your browser lists every measurement with its number and unit as written.

Free, private, no signup.

Last updatedHow we build & check our tools

Interactive Tool

This tool runs in your browser and is loading now.

Enter your values once it appears to see your results.

How Dimension Text Extractor works

Press Load model once: your browser downloads Gemma 4 E2B instruction-tuned (web build) (2.0 GB) from this site and keeps it in its cache. Then add your text and press Extract locally. The model runs on this device using your graphics card, so nothing you enter is sent to a server. Until the model is loaded, or if your device cannot run it, the tool falls back to a simple keyword check and labels the result as the fallback.

Gemma 4 E2B instruction-tuned (web build) is a small open language model from Google. The tool sends it the instruction below plus your text, asks for a JSON answer with fixed fields, and shows each field as a card. It runs at temperature 0, so the same input gives the same answer on the same device, though different graphics cards can word it slightly differently.

Inputs longer than 6,000 characters are cut to that length before they reach the model, and the result says so. The model only sees what you paste: it does not look anything up.

The instruction the model gets

You pull every measurement out of product or spec text. For each one, record what it measures (length, width, height, depth, diagonal, weight, volume, diameter, cable length and so on), the number exactly as written and the unit exactly as written. Do not convert units, round, or calculate volumes or totals. If a value is ambiguous (for example 18 x 12 x 9 without saying which number is the width), say so instead of guessing. Include every figure in the text, including weights, load limits and capacities.

What it returns

  • Measurements: One per measurement, written as 'what it measures: number unit' with the number and unit exactly as written.
  • Overall size: The overall dimensions exactly as written (for example '18 x 12 x 9 inches'), or empty.
  • Units used: Each unit that appears, as written.
  • Unclear values: Values whose meaning or unit is unclear, with why.

Worked example

The model's output for the built-in sample, recorded on a desktop browser. Your run may word things slightly differently.

Product text: box measures 18 x 12 x 9 inches, weight 4.6 lb, cable length 1.8 m, screen 13.3 in diagonal.
Measurements
length: 18 inches width: 12 inches height: 9 inches weight: 4.6 lb cable length: 1.8 m diagonal: 13.3 in
Overall size
18 x 12 x 9 inches
Units used
inches lb m in
Unclear values
None found

The model

The files are served from this site, versioned so a cached copy is never stale. Nothing is fetched from a third party while you use the tool.

ModelDownloadRuns onLicence
Gemma 4 E2B instruction-tuned (web build)2.0 GBGraphics card (WebGPU)Apache-2.0

Limitations

  • Small language models make mistakes: they can miss an item, merge two, or state something more confidently than the text supports. Check the result against your input before you rely on it.
  • It needs WebGPU and about 8 GB of memory, so it is offered on desktops and laptops, not on phones and tablets. Devices that cannot run it get the keyword fallback, clearly labelled.
  • Results describe the input you gave, not the real-world situation behind it. Review them yourself before acting.

Good uses

  • Check whether a product description actually contains L × W × H before importing it
  • Spot mixed-unit listings (inches for the box, millimetres for the screen) in one pass
  • Screen supplier emails and spec sheets for missing weight or missing depth
  • Keep draft pricing, customer, or supplier text inside the browser while you triage it
Advertisement

Frequently Asked Questions

Common questions about the Dimension Text Extractor

No. The model files download from this site once, and then everything runs in your browser tab. The text you enter is never sent to a server, and closing the tab discards it.
Advertisement

Sources & References

Number bases and representations

Conventions for binary, octal, decimal, and hexadecimal number representation and conversion.