Blog / Financial statements
Financial statements

What Is Inline XBRL? How the SEC's iXBRL Format Works

Inline XBRL embeds machine readable financial tags inside the HTML filing itself. Here is how it differs from exhibit XBRL, who must use it, and how to read it as data.

By the SecFeed teamNovember 23, 20267 min read
Key takeaways

Inline XBRL, often written iXBRL, is the format the SEC now requires for financial statement tagging: the machine readable XBRL facts are embedded directly inside the same HTML document a person reads, instead of being filed as a separate XBRL exhibit. One filing, two audiences.

This guide covers what Inline XBRL is, how it replaced the older exhibit based approach, who has to file it and when, how to view one, and what actually happens when you try to turn it into clean data.

What is Inline XBRL?

XBRL (eXtensible Business Reporting Language) is a tagging standard that labels each number in a financial statement, such as revenue or total assets, with a standardized concept from a taxonomy, so software can read it without knowing where on the page it sits. Inline XBRL is a way of delivering those same tags: instead of a standalone .xml instance document filed alongside the readable filing, the tags are woven into the HTML of the filing itself using the ix: namespace defined by XBRL International's Inline XBRL specification.

A processor can extract a standard XBRL instance document back out of an Inline XBRL document. The practical effect is that filers maintain one document, not two, and anyone who opens the filing in a browser sees ordinary financial statements with no visible markup.

The SEC built an Inline XBRL Viewer into EDGAR itself, so reading a filing's tags does not require installing any XBRL software. Open any 10-K or 10-Q filed after the phase-in date and EDGAR's viewer lets you click a highlighted number to see the tag behind it.

How Inline XBRL replaced exhibit XBRL

Before Inline XBRL, the SEC's original 2009 XBRL mandate required a separate "Exhibit 101" XBRL file attached to the filing, duplicating the financial statements in a format nobody but software ever opened. That phase-in ran by filer size:

GroupFirst required for fiscal periods ending on or after
Large accelerated filers with worldwide public float over $5 billion, US GAAPJune 15, 2009
All other large accelerated filers, US GAAPJune 15, 2010
Remaining filers (including smaller reporting companies) and foreign private issuers using IFRSJune 15, 2011

That exhibit requirement produced two versions of every filing that could drift out of sync, and filers often tagged the XBRL exhibit as an afterthought once the readable document was finished. The SEC's 2018 rule (Release No. 33-10514, "Inline XBRL Filing of Tagged Data," effective September 17, 2018) replaced the separate exhibit with Inline XBRL for operating company financial statements, again phased in by filer size:

Filer statusCompliance begins with fiscal periods ending on or after
Large accelerated filersJune 15, 2019
Accelerated filersJune 15, 2020
All other filers (smaller reporting companies, non-accelerated filers)June 15, 2021

Mutual funds followed a separate rule and timeline: fund groups with $1 billion or more in net assets had to comply with Inline XBRL tagging of their prospectus risk/return summaries beginning two years after the 2018 fund rule's effective date, and smaller fund groups a year after that. A later 2022 rule (Release No. 33-11125) extended Inline XBRL to funds' annual and semi-annual shareholder reports, effective January 24, 2023.

Get this data as clean JSON

SecFeed turns SEC filings into structured data with one API call: GET /v1/xbrl-to-json?accessionNo=0000320193-26-000020&cik=320193. Free key, no card needed.

Get a free API key →

Which filings require Inline XBRL

Inline XBRL now applies across most of EDGAR's financial disclosures:

If a form requires XBRL tagging at all today, it almost always means Inline XBRL rather than a separate exhibit; the SEC phased out the standalone-exhibit approach for these filer types once the relevant compliance dates passed.

Reading Inline XBRL by hand

Opening an Inline XBRL document directly shows you standard HTML with embedded ix:nonFraction, ix:nonNumeric and related tags wrapping each tagged value, plus a <head> section referencing the filer's XBRL taxonomy extension (an .xsd schema and supporting linkbases). To pull structured data out of it without a library, you need to:

  1. Parse the HTML (not plain XML) to find every ix: tagged element.
  2. Resolve each tag's name attribute against the US GAAP taxonomy (or the filer's custom extension) to know what concept it represents.
  3. Handle the sign, scale and decimals attributes, since a tagged -1 with scale="6" and sign="-" represents a very different number than it looks like at first glance.
  4. Deduplicate: it is common for the same concept and period to be tagged more than once in the same document, for example once in a summary table and again in the full statement, and a naive parser that takes the last match can silently pick up a footnote value instead of the primary statement figure.
  5. Separately fetch and merge the parenthetical disclosures, which often tag figures (like accumulated depreciation shown in parentheses on a balance sheet) under the same concept as the line item they annotate.

None of this is exotic, but it adds up to real parsing work before you have one clean number.

Pulling Inline XBRL as JSON instead

SecFeed does that extraction once per filing and serves the result as structured JSON. Given a filing's accession number and CIK, /v1/xbrl-to-json returns every statement in the company's own order, plus the cover page, with duplicate facts resolved and parenthetical values kept separate from the line items they annotate:

curl "https://secfeedapi.com/v1/xbrl-to-json?accessionNo=0000320193-26-000020&cik=320193" \
  -H "Authorization: Bearer YOUR_API_KEY"

The response groups facts by statement, with each line item carrying its tagged concept, value and period:

{
  "CoverPage": {"EntityRegistrantName": "Apple Inc.", "DocumentFiscalPeriodFocus": "Q4"},
  "StatementsOfIncome": {
    "RevenueFromContractWithCustomerExcludingAssessedTax": {
      "value": 94930000000,
      "unit": "USD",
      "period": {"startDate": "2026-06-29", "endDate": "2026-09-27"}
    }
  }
}

For a single concept tracked across many periods instead of one filing, /v1/xbrl/company-concept returns the full reported history, and /v1/xbrl/frames returns one concept across every company that reported it for a given period. Both read the same Inline XBRL tagging; the difference is whether you are slicing by filing or by concept.

In Python:

from secfeed import Client

sf = Client("YOUR_API_KEY")
facts = sf.xbrl_to_json(accession_no="0000320193-26-000020", cik="320193")
revenue = facts["StatementsOfIncome"]["RevenueFromContractWithCustomerExcludingAssessedTax"]
print(revenue["value"], revenue["period"]["endDate"])

The XBRL-to-JSON Converter product page covers the full statement coverage, and the download XBRL files guide shows how to pull the raw .xsd and instance documents directly from a filing if you need the original taxonomy instead of parsed output.

Frequently asked questions

Is Inline XBRL the same as XBRL?

Inline XBRL carries the same tagged concepts as traditional XBRL, but the tags live inside the human readable HTML document instead of a separate exhibit file. A processor can still generate a standard XBRL instance document from an Inline XBRL filing.

Do all SEC filings use Inline XBRL?

No. It applies to the filings that require XBRL tagging at all: financial statements in Forms 10-K, 10-Q, 8-K (when they include financial statements), 20-F and 40-F for operating companies, plus the prospectus risk/return summaries and shareholder reports that registered funds must tag. Filings that never required XBRL, like most 8-Ks without financial statements, do not carry it.

When did Inline XBRL become mandatory?

The SEC's 2018 rule phased in Inline XBRL for operating companies by filer size: large accelerated filers starting with fiscal periods ending on or after June 15, 2019, accelerated filers a year later, and all other filers (including smaller reporting companies) by June 15, 2021. It replaced the earlier 2009 to 2011 exhibit based XBRL mandate for those filers.

Can I view Inline XBRL without special software?

Yes. EDGAR has a built in Inline XBRL Viewer, so opening a filing's main document in a browser shows the readable financial statements with the tagged values highlighted and clickable, with no separate tool required to just read it. Extracting the tagged values programmatically into clean rows is a separate step, which is what xbrl to json conversion and the related XBRL API cover.

Why would a filer tag the same number twice?

Documents often present a figure more than once, for example in a highlights table and again in the full statement, or as a parenthetical note next to a line item. Each presentation can carry its own tag for the same underlying concept and period, so a parser built for Inline XBRL needs a rule for picking the primary statement value over a summary or footnote mention, rather than assuming one tag per concept.

Get this data as clean JSON

SecFeed turns SEC filings into structured data with one API call: GET /v1/xbrl-to-json?accessionNo=0000320193-26-000020&cik=320193. Free key, no card needed.

Get a free API key →

For information only, not investment advice. Data from public SEC filings; verify important figures on SEC.gov. See our AI Disclosure.