Skip to content
Built for AI agents. Readable by humans.

Turn recurring text
into structured data.

Your agent turns logs, invoices and reports into a Texomy spec you can read, review and test. Run that spec locally to extract typed data—with predictable results and no per-document AI cost.

brew install texomy/tap/texomy
Try it in Studio

Free for files up to 10 MB · macOS, Linux, Windows · All install options

report.txtHover a value to see its type · click it to find it in the treeRun in Studio
Microsoft Corporation
Fiscal year ended June 30, 2025

For fiscal 2025, Microsoft reported revenue of USD 281.724 billion, compared with USD 245.122 billion in fiscal 2024. The reported year-over-year increase was 15%.

Operating income for the company reached USD 128.528 billion in 2025; the corresponding 2024 figure was USD 109.433 billion. The year-over-year change was 17%.

Within Intelligent Cloud, revenue rose by USD 18.8 billion, or 21%. Azure and other cloud services recorded revenue growth of 34%, whereas server products revenue fell by 3%.

More Personal Computing generated a revenue increase of USD 3.8 billion, or 7%. Gaming revenue grew by USD 2.0 billion, or 9%, while Xbox hardware revenue fell by 25%.
financial-reports.ymlspec
$imports: [ 'values', 'periods', 'metrics' ]

$flags: [ CASE_INSENSITIVE ]

Entity:
  Company:
    $local:
      Name:
        $flags: [ -CASE_INSENSITIVE ]
        $patterns: '[A-Z][\w&''.-]*( [A-Z][\w&''.-]*){0,3}'

      LegalForm: 'Corporation|Corp\.|Incorporated|Inc\.|Ltd\.?|Limited|plc|AG|SE|N\.V\.|S\.A\.|Holdings|Group'

    $fields: { name: Name }
    $patterns: '#{name} ${LegalForm}'

Fact:
  $local:
    Entity:
      Name:
        $flags: [ -CASE_INSENSITIVE ]
        $patterns: '[A-Z][\w&''-]*( [\w&''-]+){0,4}'

    Year: '(19|20)\d{2}'

    Period:
      Year:
        $fields: { year: Year }
        $patterns: '#{year}'

    When: 'for|in|during'

    Report: 'reported|posted|recorded|delivered|generated|achieved|booked|saw'

    Total: 'was|were|reached|totaled|totalled|amounted to|came in at|stood at|of'

    Direction:
      Increase:
        $value: 'increase'
        $patterns: 'rose|increased|grew|climbed|advanced|jumped|gained|was up|were up|up|higher|increase|growth|rise|gain'

      Decrease:
        $value: 'decrease'
        $patterns: 'fell|declined|decreased|dropped|slipped|contracted|was down|were down|down|lower|decrease|decline|drop|fall|contraction'

      Change:
        $value: 'change'
        $patterns: 'changed|change'

    Basis: 'year[- ]over[- ]year|year[- ]on[- ]year|YoY|y/y|annual|from a year (earlier|ago)'

    # The punctuation before a prior figure or a change belongs to the fact, not to them.
    Link: '[,;.]? '

    Prior:
      $fields: { figure: Figure, period: Period }
      $patterns:
        - '(compared (with|to)|versus|vs\.?|up from|down from|from) #{figure}( (in|for) #{period}| a year (earlier|ago)| in the (prior|previous) year)?'
        - 'the corresponding #{period} figure was #{figure}'

    Delta:
      $fields: { direction: Direction, percent: Figure }
      $patterns:
        - 'the( reported)?( ${Basis})? #{direction} was #{percent}'
        - '(an? )?#{direction}( of)? #{percent}( ${Basis})?'

  Value:
    $fields:
      period: 'Period[]'
      entity: Entity
      metric: Metric
      figure: Figure
      prior: Prior
      change: Delta
    $patterns:
      - '((${When}) #{period}, )?(#{entity} )?${Report} #{metric} of #{figure}( (${When}) #{period})?(${Link}#{change}(${Link}#{prior})?|${Link}#{prior}(${Link}#{change})?)?'
      - '((${When}) #{period}, )?#{metric}( for the (company|group))?( (${When}) #{period})? ${Total} #{figure}( (${When}) #{period})?(${Link}#{change}(${Link}#{prior})?|${Link}#{prior}(${Link}#{change})?)?'

  Change:
    $fields:
      segment: Entity
      period: 'Period[]'
      entity: Entity
      metric: Metric
      direction: Direction
      amount: Figure::Amount
      percent: Figure
      level: Figure::Amount
    $patterns:
      - '((within|in|at) #{segment}, )?((${When}) #{period}, )?(#{entity} )?#{metric}( (${When}) #{period})? #{direction} (by )?(#{amount}(,? or #{percent})?|#{percent})( ${Basis})?( (${When}) #{period})?( to #{level})?'
      - '((within|in|at) #{segment}, )?((${When}) #{period}, )?(#{entity} )?${Report} (a |an )?#{metric} #{direction} of (#{amount}(,? or #{percent})?|#{percent})( ${Basis})?( (${When}) #{period})?'
      - '(#{entity} )?${Report} (a |an )#{percent} #{direction} in #{metric}( (${When}) #{period})?'

  Guidance:
    $local:
      Expect: '(now |continues to |continue to )?(expects?|anticipates?|forecasts?|projects?|guides? to|sees|targets?|is targeting|are targeting)'

      Revise:
        Raise:
          $value: 'raise'
          $patterns: 'raised|increased|lifted|upgraded|raises'

        Lower:
          $value: 'lower'
          $patterns: 'lowered|cut|reduced|downgraded|lowers'

        Confirm:
          $value: 'confirm'
          $patterns: 'reaffirmed|confirmed|maintained|reiterated|reaffirms|confirms'

      Outlook: 'guidance|outlook|forecast|target'

      About: 'about|approximately|around|roughly|at least|up to|in the range of|in a range of'

    $fields:
      period: 'Period[]'
      entity: Entity
      metric: Metric
      direction: Direction
      revision: Revise
      figure: Figure
    $patterns:
      - '((${When}) #{period}, )?(#{entity} )?${Expect} (full[- ]year |annual )?#{metric}( #{direction})?( (${When}) #{period})? (of |to be |at |to reach )?(${About} )?#{figure}( (${When}) #{period})?'
      - '((${When}) #{period}, )?(#{entity} )?#{revision} its( full[- ]year| annual| #{period})? #{metric}( #{direction})? ${Outlook}( (${When}) #{period})?( (to|of) (${About} )?#{figure})?'
      - '((${When}) #{period}, )?#{metric}( #{direction})?( (${When}) #{period})? (is|are) (expected|forecast|projected|anticipated) to (be|reach|come in at) (${About} )?#{figure}( (${When}) #{period})?'
      - '((${When}) #{period}, )?(the )?#{metric}( #{direction})? ${Outlook}( (${When}) #{period})? (is|was|of|remains|calls for) (${About} )?#{figure}'
$ texomy parse report.txt -m financial-reports
financial-reports.json
[
  {
    "type": "Entity::Company",
    "start": 0,
    "end": 21,
    "fields": {
      "name": {
        "type": "Name",
        "start": 0,
        "end": 9,
        "text": "Microsoft"
      }
    }
  },
  {
    "type": "Period::Ended",
    "start": 22,
    "end": 53,
    "fields": {
      "length": {
        "type": "Length",
        "start": 22,
        "end": 33,
        "text": "Fiscal year"
      },
      "end": {
        "type": "Date",
        "start": 40,
        "end": 53,
        "fields": {
          "year": {
            "type": "Year",
            "start": 49,
            "end": 53,
            "text": "2025"
          },
          "month": {
            "type": "Month::June",
            "start": 40,
            "end": 44,
            "text": "June",
            "value": "06"
          },
          "day": {
            "type": "Day::TwoDigits",
            "start": 45,
            "end": 47,
            "text": "30"
          }
        },
        "value": "2025-06-30"
      }
    }
  },
  {
    "type": "Fact::Value",
    "start": 55,
    "end": 217,
    "fields": {
      "period": [
        {
          "type": "Period::FiscalYear",
          "start": 59,
          "end": 70,
          "fields": {
            "fiscal": {
              "type": "Fiscal",
              "start": 59,
              "end": 65,
              "text": "fiscal"
            },
            "year": {
              "type": "Year",
              "start": 66,
              "end": 70,
              "text": "2025"
            }
          }
        }
      ],
      "entity": {
        "type": "Entity::Name",
        "start": 72,
        "end": 81,
        "text": "Microsoft"
      },
      "metric": {
        "type": "Metric::Revenue",
        "start": 91,
        "end": 98,
        "text": "revenue"
      },
      "figure": {
        "type": "Figure::Amount",
        "start": 102,
        "end": 121,
        "fields": {
          "currency": {
            "type": "Currency::USD",
            "start": 102,
            "end": 105,
            "text": "USD",
            "value": "USD"
          },
          "number": {
            "type": "Number::Plain",
            "start": 106,
            "end": 113,
            "text": "281.724"
          },
          "scale": {
            "type": "Scale::Billion",
            "start": 114,
            "end": 121,
            "text": "billion",
            "value": 1000000000
          }
        }
      },
      "prior": {
        "type": "Prior",
        "start": 123,
        "end": 171,
        "fields": {
          "figure": {
            "type": "Figure::Amount",
            "start": 137,
            "end": 156,
            "fields": {
              "currency": {
                "type": "Currency::USD",
                "start": 137,
                "end": 140,
                "text": "USD",
                "value": "USD"
              },
              "number": {
                "type": "Number::Plain",
                "start": 141,
                "end": 148,
                "text": "245.122"
              },
              "scale": {
                "type": "Scale::Billion",
                "start": 149,
                "end": 156,
                "text": "billion",
                "value": 1000000000
              }
            }
          },
          "period": {
            "type": "Period::FiscalYear",
            "start": 160,
            "end": 171,
            "fields": {
              "fiscal": {
                "type": "Fiscal",
                "start": 160,
                "end": 166,
                "text": "fiscal"
              },
              "year": {
                "type": "Year",
                "start": 167,
                "end": 171,
                "text": "2024"
              }
            }
          }
        }
      },
      "change": {
        "type": "Delta",
        "start": 173,
        "end": 217,
        "fields": {
          "direction": {
            "type": "Direction::Increase",
            "start": 201,
            "end": 209,
            "text": "increase",
            "value": "increase"
          },
          "percent": {
            "type": "Figure::Percent",
            "start": 214,
            "end": 217,
            "fields": {
              "number": {
                "type": "Number::Plain",
                "start": 214,
                "end": 216,
                "text": "15"
              }
            }
          }
        }
      }
    }
  },
  {
    "type": "Fact::Value",
    "start": 220,
    "end": 378,
    "fields": {
      "period": [
        {
          "type": "Period::Year",
          "start": 284,
          "end": 288,
          "fields": {
            "year": {
              "type": "Year",
              "start": 284,
              "end": 288,
              "text": "2025"
            }
          }
        }
      ],
      "metric": {
        "type": "Metric::OperatingIncome",
        "start": 220,
        "end": 236,
        "text": "Operating income"
      },
      "figure": {
        "type": "Figure::Amount",
        "start": 261,
        "end": 280,
        "fields": {
          "currency": {
            "type": "Currency::USD",
            "start": 261,
            "end": 264,
            "text": "USD",
            "value": "USD"
          },
          "number": {
            "type": "Number::Plain",
            "start": 265,
            "end": 272,
            "text": "128.528"
          },
          "scale": {
            "type": "Scale::Billion",
            "start": 273,
            "end": 280,
            "text": "billion",
            "value": 1000000000
          }
        }
      },
      "prior": {
        "type": "Prior",
        "start": 290,
        "end": 343,
        "fields": {
          "figure": {
            "type": "Figure::Amount",
            "start": 324,
            "end": 343,
            "fields": {
              "currency": {
                "type": "Currency::USD",
                "start": 324,
                "end": 327,
                "text": "USD",
                "value": "USD"
              },
              "number": {
                "type": "Number::Plain",
                "start": 328,
                "end": 335,
                "text": "109.433"
              },
              "scale": {
                "type": "Scale::Billion",
                "start": 336,
                "end": 343,
                "text": "billion",
                "value": 1000000000
              }
            }
          },
          "period": {
            "type": "Period::Year",
            "start": 308,
            "end": 312,
            "fields": {
              "year": {
                "type": "Year",
                "start": 308,
                "end": 312,
                "text": "2024"
              }
            }
          }
        }
      },
      "change": {
        "type": "Delta",
        "start": 345,
        "end": 378,
        "fields": {
          "direction": {
            "type": "Direction::Change",
            "start": 364,
            "end": 370,
            "text": "change",
            "value": "change"
          },
          "percent": {
            "type": "Figure::Percent",
            "start": 375,
            "end": 378,
            "fields": {
              "number": {
                "type": "Number::Plain",
                "start": 375,
                "end": 377,
                "text": "17"
              }
            }
          }
        }
      }
    }
  },
  {
    "type": "Fact::Change",
    "start": 381,
    "end": 447,
    "fields": {
      "segment": {
        "type": "Entity::Name",
        "start": 388,
        "end": 405,
        "text": "Intelligent Cloud"
      },
      "metric": {
        "type": "Metric::Revenue",
        "start": 407,
        "end": 414,
        "text": "revenue"
      },
      "direction": {
        "type": "Direction::Increase",
        "start": 415,
        "end": 419,
        "text": "rose",
        "value": "increase"
      },
      "amount": {
        "type": "Figure::Amount",
        "start": 423,
        "end": 439,
        "fields": {
          "currency": {
            "type": "Currency::USD",
            "start": 423,
            "end": 426,
            "text": "USD",
            "value": "USD"
          },
          "number": {
            "type": "Number::Plain",
            "start": 427,
            "end": 431,
            "text": "18.8"
          },
          "scale": {
            "type": "Scale::Billion",
            "start": 432,
            "end": 439,
            "text": "billion",
            "value": 1000000000
          }
        }
      },
      "percent": {
        "type": "Figure::Percent",
        "start": 444,
        "end": 447,
        "fields": {
          "number": {
            "type": "Number::Plain",
            "start": 444,
            "end": 446,
            "text": "21"
          }
        }
      }
    }
  },
  {
    "type": "Fact::Change",
    "start": 449,
    "end": 510,
    "fields": {
      "entity": {
        "type": "Entity::Name",
        "start": 449,
        "end": 479,
        "text": "Azure and other cloud services"
      },
      "metric": {
        "type": "Metric::Revenue",
        "start": 489,
        "end": 496,
        "text": "revenue"
      },
      "direction": {
        "type": "Direction::Increase",
        "start": 497,
        "end": 503,
        "text": "growth",
        "value": "increase"
      },
      "percent": {
        "type": "Figure::Percent",
        "start": 507,
        "end": 510,
        "fields": {
          "number": {
            "type": "Number::Plain",
            "start": 507,
            "end": 509,
            "text": "34"
          }
        }
      }
    }
  },
  {
    "type": "Fact::Change",
    "start": 536,
    "end": 554,
    "fields": {
      "metric": {
        "type": "Metric::Revenue",
        "start": 536,
        "end": 543,
        "text": "revenue"
      },
      "direction": {
        "type": "Direction::Decrease",
        "start": 544,
        "end": 548,
        "text": "fell",
        "value": "decrease"
      },
      "percent": {
        "type": "Figure::Percent",
        "start": 552,
        "end": 554,
        "fields": {
          "number": {
            "type": "Number::Plain",
            "start": 552,
            "end": 553,
            "text": "3"
          }
        }
      }
    }
  },
  {
    "type": "Fact::Change",
    "start": 557,
    "end": 635,
    "fields": {
      "entity": {
        "type": "Entity::Name",
        "start": 557,
        "end": 580,
        "text": "More Personal Computing"
      },
      "metric": {
        "type": "Metric::Revenue",
        "start": 593,
        "end": 600,
        "text": "revenue"
      },
      "direction": {
        "type": "Direction::Increase",
        "start": 601,
        "end": 609,
        "text": "increase",
        "value": "increase"
      },
      "amount": {
        "type": "Figure::Amount",
        "start": 613,
        "end": 628,
        "fields": {
          "currency": {
            "type": "Currency::USD",
            "start": 613,
            "end": 616,
            "text": "USD",
            "value": "USD"
          },
          "number": {
            "type": "Number::Plain",
            "start": 617,
            "end": 620,
            "text": "3.8"
          },
          "scale": {
            "type": "Scale::Billion",
            "start": 621,
            "end": 628,
            "text": "billion",
            "value": 1000000000
          }
        }
      },
      "percent": {
        "type": "Figure::Percent",
        "start": 633,
        "end": 635,
        "fields": {
          "number": {
            "type": "Number::Plain",
            "start": 633,
            "end": 634,
            "text": "7"
          }
        }
      }
    }
  },
  {
    "type": "Fact::Change",
    "start": 637,
    "end": 682,
    "fields": {
      "entity": {
        "type": "Entity::Name",
        "start": 637,
        "end": 643,
        "text": "Gaming"
      },
      "metric": {
        "type": "Metric::Revenue",
        "start": 644,
        "end": 651,
        "text": "revenue"
      },
      "direction": {
        "type": "Direction::Increase",
        "start": 652,
        "end": 656,
        "text": "grew",
        "value": "increase"
      },
      "amount": {
        "type": "Figure::Amount",
        "start": 660,
        "end": 675,
        "fields": {
          "currency": {
            "type": "Currency::USD",
            "start": 660,
            "end": 663,
            "text": "USD",
            "value": "USD"
          },
          "number": {
            "type": "Number::Plain",
            "start": 664,
            "end": 667,
            "text": "2.0"
          },
          "scale": {
            "type": "Scale::Billion",
            "start": 668,
            "end": 675,
            "text": "billion",
            "value": 1000000000
          }
        }
      },
      "percent": {
        "type": "Figure::Percent",
        "start": 680,
        "end": 682,
        "fields": {
          "number": {
            "type": "Number::Plain",
            "start": 680,
            "end": 681,
            "text": "9"
          }
        }
      }
    }
  },
  {
    "type": "Fact::Change",
    "start": 690,
    "end": 723,
    "fields": {
      "entity": {
        "type": "Entity::Name",
        "start": 690,
        "end": 703,
        "text": "Xbox hardware"
      },
      "metric": {
        "type": "Metric::Revenue",
        "start": 704,
        "end": 711,
        "text": "revenue"
      },
      "direction": {
        "type": "Direction::Decrease",
        "start": 712,
        "end": 716,
        "text": "fell",
        "value": "decrease"
      },
      "percent": {
        "type": "Figure::Percent",
        "start": 720,
        "end": 723,
        "fields": {
          "number": {
            "type": "Number::Plain",
            "start": 720,
            "end": 722,
            "text": "25"
          }
        }
      }
    }
  }
]

A real spec and its real output. Hover any highlighted value to see its type; click it to find it in the tree.

The problem

The format repeats. So does the extraction work.

.*

Regular expressions

Fast, but flat. Every format becomes a wall of escapes that only its author can change, and the output is a list of strings with no structure or types.

AI

An LLM on every document

Flexible, but you pay per page, wait per page, and get slightly different answers on the same input. Your data leaves your machine every time.

.py

A script your AI writes

Quick to get and free to run. But each format becomes more code to review, with the rules, conversions and edge cases mixed together, and tests only if someone writes them.

Texomy gives such text what code already has: a language with types, written with the flexibility of AI and run with the guarantees of a compiler.

How it works

From a sample to a tested parser, without writing regex by hand

  1. 01

    Show a sample

    Show your agent representative text and explain which fields you need.

  2. 02

    Get a readable spec

    The agent writes types, fields and patterns in YAML, checks it, and runs it on your sample through the Texomy MCP server.

  3. 03

    Lock it with tests

    Expected output lives next to the spec in *.test.yml. texomy test fails the moment behaviour changes.

  4. 04

    Run it everywhere

    texomy parse turns every file into typed JSON on your machine, record by record. No model in the loop.

tests/money.test.yml
$imports: 'money'

amount after currency:
  input: '$120.50'
  output:
    - !Money { currency: !Currency::USD '$', amount: !Number::Decimal '120.50' }
terminal
$ texomy test
ok    tests/money.test.yml (1 cases)
PASSED: 1 test files

$ texomy parse statements.txt -m money --output money.jsonl
1 records, 1 matched, 2 nodes in 11 ms

Specs, tests and packages are plain files. Keep them in git and run texomy test in CI.

Readable by design

A spec reads like a model of your domain

Types describe what a value is. Fields describe the role it plays. Subtypes such as Currency::USD keep the result precise without extra code.

  • Patterns stay small, because types compose: #{amount} is a field of type Number, so it accepts both Number::Integer and Number::Decimal. Any pattern can also reuse a type directly, as ${Number::Integer}.
  • Overlaps are settled by fixed rules: longest match, then the more specific type.
  • Share types across specs with imports and versioned packages.

Read the language reference →

money.yml
Currency:
  USD: [ 'USD', '\$' ]
  EUR: [ 'EUR', '€' ]

Number:
  Integer: '\d+'
  Decimal: '\d+\.\d+'

Money:
  $fields:
    currency: Currency
    amount: Number
  $patterns:
    - '#{currency}\s?#{amount}'
    - '#{amount}\s?#{currency}'
Paid $120.50 on Monday, refund of 40 EUR pending.
- type: 'Money'
  start: 5
  end: 12
  fields:
    currency: { type: 'Currency::USD', start: 5, end: 6, text: '$' }
    amount: { type: 'Number::Decimal', start: 6, end: 12, text: '120.50' }
- type: 'Money'
  start: 34
  end: 40
  fields:
    currency: { type: 'Currency::EUR', start: 37, end: 40, text: 'EUR' }
    amount: { type: 'Number::Integer', start: 34, end: 36, text: '40' }
Built to grow

Extend a spec instead of rewriting it

Types form a hierarchy. A subtype inherits from its parent and fits wherever the parent fits, so one new line reaches every pattern that uses the type.

  • Subtypes inherit fields, patterns, values and flags. In the invoices example, Reference declares its pattern once, and an order, a task order and a contract each declare only their label.
  • A field can take a narrower type: amount: Money::Amount accepts an amount but not a rate such as USD 25/hour.
  • Add Currency::JPY, and every pattern that references Currency accepts yen, in specs that import it too.

How types and inheritance work →

money.yml+1
Currency:  USD: [ 'USD', '\$' ]  EUR: [ 'EUR', '€' ]  JPY: [ 'JPY', '¥' ] Money:  $fields:    currency: Currency    amount: Number
invoice.yml, unchanged · Total: ¥18400
- type: 'InvoiceTotal'
  start: 0
  end: 13
  fields:
    total:
      type: 'Money'
      start: 7
      end: 13
      fields:
        currency: { type: 'Currency::JPY', start: 7, end: 8, text: '¥' }
        amount: { type: 'Number::Integer', start: 8, end: 13, text: '18400' }
Examples

Works on the text you actually have

Each example is a real spec with tests. Open any of them in Studio and change it.

Why Texomy

Built for data you have to trust

=

Deterministic

The same spec, dependencies and input yield the same tree on the same runtime version. Defined overlap rules resolve conflicts; declaration order breaks remaining ties.

⌂

Local, private, free to run

One native binary for macOS, Linux and Windows. Text never leaves your machine, and AI is used once, to write the spec: the next million records cost CPU time, not tokens.

⛨

Safe to run

A spec is data, not code. It cannot open files, call the network or install packages, so a spec written by AI is safe to run. Text in a document cannot give it instructions.

Aa

Readable and tested

Types, subtypes and named fields read like a domain model. Specs live in your repo with tests and are reviewed in pull requests, like code.

{}

Typed, nested output

Every match is a node with its type, character offsets and fields. Dates, numbers and money come out typed.

≡

Consistent across formats

Every spec uses one language and returns one output shape. The tenth format, written from a different prompt, reads and parses like the first, and shares its types.

Measured on one laptop

10 MB of repeated example text per run, 12 matching worker threads, full JSON output. Apple M3 Pro: 6 performance + 6 efficiency cores. All measurements →

TextInput (10 MB)FoundOutputTime (12 worker threads)Peak memory
Addresses in running text63,963 paragraphs127,926 addresses1.11M nodes · 87.9 MB JSON0.42 s42.0 MiB
Invoices111,110 paragraphs111,110 invoices1.33M nodes · 108.5 MB JSON0.80 s18.6 MiB
Financial report sentences15,384 paragraphs123,072 sentences1.38M nodes · 121.6 MB JSON0.44 s34.9 MiB

Speed does not scale proportionally with worker count. In a separate check, the same 10 MB log took 0.95 s with 6 worker threads and 0.84 s with 12. How parallelism affects these results →

AI agents · Studio

Write the spec with your agent, or in Studio

In your coding agent

Texomy ships an MCP server in the same binary. Claude Code, Cursor, Copilot and other agents get tools to read the guide, check, test and parse on your machine. Large inputs never pass through the conversation.

claude mcp add texomy -- texomy mcp

How agents work with Texomy →

In Studio

Open a ready-made example or your own spec. Edit it, see every match highlighted with its type, and run the tests. In the browser, or locally with texomy studio.

Try a working spec

Open the invoices example, run it, then change the text or patterns and inspect the typed result.

Online Studio sends specs and input to the Texomy API for parsing. Use the CLI or local Studio for private data.

About Studio →

Compared

The trade-off you no longer have to make

RegexLLM per documentScript from your AITexomy
Typed, nested outputNoBest effortIf codedYes
Same input, same outputYesNoYesYes
Runs offlineYesUsually notYesYes
Cost per documentNoneTokensNoneNone
Runs code written by AINoNoYes, with your permissionsNo, a spec is data
Text in a document can steer itNoYes, prompt injectionNoNo
A change in reviewA longer regexA new promptA code diffTypes, fields and expected output
Pricing

Free to start. Pro for volume.

The CLI, MCP server, local Studio and tests are free for individuals and organizations under 50 people, for input files up to 10 MB each.

Texomy Pro is planned for larger files, folder batches and a local HTTP server. Join the waitlist to help shape it.

See plans

Free

available now
  • CLI: parse, test, check, inspect
  • MCP server for your agents
  • Local and browser Studio
  • Input files up to 10 MB each

Pro

waitlist
  • Larger input files
  • Batch processing of whole folders
  • texomy serve: a local HTTP server

Questions

What is Texomy?

Texomy is a parser for unstructured and semi-structured text. You describe the values you need as types, fields and patterns in a short YAML spec. The texomy CLI turns any text into typed JSON with that spec, on your machine.

Do I need to write the spec myself?

No. Most people let an AI agent write it. Connect Claude Code, Cursor, Copilot or another MCP client with texomy mcp, show it a sample, and it writes, checks and tests the spec. Review and edit the resulting spec in Studio.

How is this different from asking an LLM to extract the data?

The model helps author the spec. After that, parsing is local computation: no model or tokens required, and it works offline. You can review the spec and test it like code.

Why not just ask my AI to write a Python script?

You can, and it also runs locally for free. The difference is review. A spec change names the new type, its fields and their types, and comes with a test that pins the expected output. A script change is code you have to run to understand. See the same change in both.

How fast is it?

10 MB in 0.42–1.30 seconds with 12 matching worker threads on an Apple M3 Pro (6 performance + 6 efficiency cores), depending on the spec. Peak resident memory was 18.6–42.0 MiB in these runs. Speed does not scale proportionally with worker count. These are repeated-example benchmarks; record size and pattern complexity matter. See the measurements.

Does my text leave my machine?

Not with the CLI, the MCP server or local Studio (texomy studio): they parse everything locally. Your coding agent may send samples and tool results to its model provider. Browser Studio at studio.texomy.com runs specs through the Texomy API for parsing; it has no built-in AI generation.

Is it just regex with extra steps?

Regular expressions are the execution layer. On top, Texomy adds types, subtypes that inherit from their parents, named fields, reusable references, imports, deterministic overlap rules, a typed result tree, and tests.

What does it cost?

The current release is free for individuals, education, open source and organizations under 50 people and USD 5 million in revenue, with a limit of 10 MB per input file. Larger organizations need a commercial license. Texomy Pro, for larger files, batch processing and a local HTTP server, is in preparation. Join the waitlist.

Write the spec once. Run it on everything.

Install the CLI, connect your agent, and turn your first sample into typed data in minutes.

brew install texomy/tap/texomy