{"id":470,"date":"2026-11-20T06:54:09","date_gmt":"2026-11-20T06:54:09","guid":{"rendered":"https:\/\/easyextract.online\/blog\/how-to-extract-xbrl-ixbrl-to-csv\/"},"modified":"2026-11-20T06:54:09","modified_gmt":"2026-11-20T06:54:09","slug":"how-to-extract-xbrl-ixbrl-to-csv","status":"publish","type":"post","link":"https:\/\/easyextract.online\/blog\/how-to-extract-xbrl-ixbrl-to-csv\/","title":{"rendered":"How to Extract XBRL &#038; iXBRL Filings to CSV Online (SEC &#038; Companies House)"},"content":{"rendered":"<p><strong>To extract tagged financial facts from XBRL (<code>.xbrl<\/code>, <code>.xml<\/code>) or Inline XBRL (<code>.xhtml<\/code>, <code>.htm<\/code>) regulatory filings into CSV without installing Python or Arelle, parse the document locally with the <a href=\"https:\/\/easyextract.online\/xbrl-extractor\/\">EasyExtract XBRL &amp; iXBRL Extractor<\/a>. It scans every element carrying a <code>contextRef<\/code> attribute via browser <code>DOMParser<\/code> and exports Concept, ContextRef, UnitRef, and Value to CSV.<\/strong><\/p>\n<p>Financial regulators including the US Securities and Exchange Commission (SEC EDGAR) and UK Companies House mandate machine-readable XBRL and Inline XBRL (iXBRL) reporting for 10-K, 10-Q, and annual statutory accounts. While analysts and developers often install libraries like <code>edgartools<\/code>, <code>ixbrl-parse<\/code>, or the desktop Arelle suite to query filings, one-off extractions from downloaded filing files do not require a local Python environment.<\/p>\n<h2>How XBRL and Inline XBRL store financial facts<\/h2>\n<p>Both standalone XBRL XML instances and HTML-embedded iXBRL filings bind each reported number or category to a reporting context (period and entity) and an optional measurement unit.<\/p>\n<table>\n<thead>\n<tr>\n<th>Filing Attribute<\/th>\n<th>XBRL XML (.xbrl \/ .xml)<\/th>\n<th>Inline XBRL (.xhtml \/ .htm)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Concept \/ Tag<\/strong><\/td>\n<td>Element tag name (such as <code>us-gaap:Revenues<\/code>)<\/td>\n<td><code>name<\/code> attribute on <code>ix:nonFraction<\/code> \/ <code>ix:nonNumeric<\/code><\/td>\n<\/tr>\n<tr>\n<td><strong>ContextRef<\/strong><\/td>\n<td><code>contextRef<\/code> ID linking period start\/end dates<\/td>\n<td><code>contextRef<\/code> ID (falls back to lowercase <code>contextref<\/code> in HTML)<\/td>\n<\/tr>\n<tr>\n<td><strong>UnitRef<\/strong><\/td>\n<td><code>unitRef<\/code> ID (USD, GBP, shares)<\/td>\n<td><code>unitRef<\/code> \/ <code>unitref<\/code> attribute where numeric<\/td>\n<\/tr>\n<tr>\n<td><strong>Value<\/strong><\/td>\n<td>Inner text content of the XML fact node<\/td>\n<td>Visible text inside the inline HTML tag (whitespace normalized)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Any DOM element with a <code>contextRef<\/code> attribute represents an atomic financial fact. Filtering for those elements isolates reported KPIs while ignoring decorative HTML layout markup around an inline filing.<\/p>\n<pre><code>&lt;ix:nonFraction name=\"uk-core:TurnoverRevenue\" contextRef=\"FY2025\" unitRef=\"GBP\"&gt;4,820,000&lt;\/ix:nonFraction&gt;<\/code><\/pre>\n<h2>How to extract XBRL and iXBRL filings to CSV online<\/h2>\n<ol>\n<li>Download the instance <code>.xml<\/code>, <code>.xbrl<\/code>, or inline <code>.htm<\/code> \/ <code>.xhtml<\/code> file from SEC EDGAR or Companies House.<\/li>\n<li>Open the <a href=\"https:\/\/easyextract.online\/xbrl-extractor\/\">EasyExtract XBRL &amp; iXBRL Extractor<\/a> in any browser and drop the filing onto the dropzone.<\/li>\n<li>Inspect the parsed preview table listing Concept\/Tag, ContextRef, UnitRef, and Value (up to 500 preview rows; XML errors automatically fall back to HTML DOM parsing for messy iXBRL markup).<\/li>\n<li>Click <strong>Download CSV<\/strong> to export <code>xbrl-facts.csv<\/code>, or copy the table directly into Excel or Google Sheets.<\/li>\n<\/ol>\n<h2>When to use a browser extractor vs Python or Arelle<\/h2>\n<p>Browser extraction excels when you want instant tabular inspection of an individual filing on a locked-down work laptop or Chromebook without installing dependencies. When automating bulk downloads across thousands of SEC EDGAR CIKs or validating taxonomy calculation linkbases, Python packages such as <code>edgartools<\/code>, <code>stream-read-xbrl<\/code>, or <code>Arelle<\/code> remain the right programmatic pipeline.<\/p>\n<h2>Frequently asked questions<\/h2>\n<h3>Why does the extractor skip paragraphs longer than 500 characters?<\/h3>\n<p>Inline XBRL filings sometimes wrap multi-page HTML accounting policy footnotes inside <code>ix:nonNumeric<\/code> tags. Skipping text blocks over 500 characters keeps numeric financial CSV exports clean and readable in Excel.<\/p>\n<h3>Are pre-filing financial reports uploaded to a server?<\/h3>\n<p>No. Parsing executes strictly inside your browser&#8217;s local JavaScript memory using <code>DOMParser<\/code>, so confidential financial disclosures never leave your device.<\/p>\n<h3>Does this handle HTML filings that fail strict XML parsing?<\/h3>\n<p>Yes. The parser tries <code>text\/xml<\/code> first and automatically falls back to <code>text\/html<\/code> parsing if an inline filing contains HTML entities or unclosed tags.<\/p>\n<h2>Related structured data and financial tools<\/h2>\n<ul>\n<li><a href=\"https:\/\/easyextract.online\/xml-field-extractor\/\">XML Field Extractor<\/a>: Query custom XPath-like tags and attributes from any XML file.<\/li>\n<li><a href=\"https:\/\/easyextract.online\/camt053-to-csv\/\">CAMT.053 to CSV Converter<\/a>: Convert ISO 20022 XML bank statements to CSV.<\/li>\n<li><a href=\"https:\/\/easyextract.online\/xlsx-data-extractor\/\">Excel Data Extractor<\/a>: Export sheets from XLSX workbooks into clean CSV.<\/li>\n<li><a href=\"https:\/\/easyextract.online\/csv-column-extractor\/\">CSV Column Extractor<\/a>: Filter specific columns from exported XBRL CSV tables.<\/li>\n<\/ul>\n<p><script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@graph\": [\n    {\n      \"@type\": \"WebApplication\",\n      \"@id\": \"https:\/\/easyextract.online\/xbrl-extractor\/#webapp\",\n      \"name\": \"XBRL & iXBRL Extractor Online\",\n      \"url\": \"https:\/\/easyextract.online\/xbrl-extractor\/\",\n      \"applicationCategory\": \"BusinessApplication\",\n      \"operatingSystem\": \"All modern web browsers\",\n      \"offers\": {\"@type\": \"Offer\", \"price\": \"0\", \"priceCurrency\": \"USD\"}\n    },\n    {\n      \"@type\": \"HowTo\",\n      \"@id\": \"https:\/\/easyextract.online\/blog\/how-to-extract-xbrl-ixbrl-to-csv\/#howto\",\n      \"name\": \"How to Extract XBRL and iXBRL Filings to CSV\",\n      \"totalTime\": \"PT1M\",\n      \"step\": [\n        {\"@type\": \"HowToStep\", \"position\": 1, \"name\": \"Open the XBRL extractor\", \"text\": \"Open https:\/\/easyextract.online\/xbrl-extractor\/ in your browser.\"},\n        {\"@type\": \"HowToStep\", \"position\": 2, \"name\": \"Drop your XBRL or iXBRL filing\", \"text\": \"Load an .xbrl, .xml, .xhtml, or .htm regulatory filing locally.\"},\n        {\"@type\": \"HowToStep\", \"position\": 3, \"name\": \"Download CSV\", \"text\": \"Inspect extracted facts with contextRef and unitRef and export CSV.\"}\n      ]\n    },\n    {\n      \"@type\": \"FAQPage\",\n      \"@id\": \"https:\/\/easyextract.online\/blog\/how-to-extract-xbrl-ixbrl-to-csv\/#faq\",\n      \"mainEntity\": [\n        {\"@type\": \"Question\", \"name\": \"Why does the extractor skip paragraphs longer than 500 characters?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Skipping long footnote disclosures under 500 characters keeps numeric financial CSV exports clean for Excel.\"}},\n        {\"@type\": \"Question\", \"name\": \"Are pre-filing financial reports uploaded to a server?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"No. DOMParser executes strictly inside browser memory with zero uploads.\"}},\n        {\"@type\": \"Question\", \"name\": \"Does this handle HTML filings that fail strict XML parsing?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"Yes. The parser tries text\/xml first and falls back to text\/html when strict XML parsing hits an error.\"}}\n      ]\n    }\n  ]\n}\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To extract tagged financial facts from XBRL (.xbrl, .xml) or Inline XBRL (.xhtml, .htm) regulatory filings into CSV without installing Python or Arelle, parse the document locally with the EasyExtract XBRL &amp; iXBRL Extractor.\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Extract XBRL & iXBRL to CSV Online (SEC & Companies House)","description":"Extract financial facts from XBRL and Inline XBRL (.xbrl, .xml, .xhtml, .htm) filings to CSV directly in your browser with zero Python setup or server uploads."},"footnotes":""},"categories":[3],"tags":[],"class_list":["post-470","post","type-post","status-publish","format-standard","hentry","category-guides"],"_links":{"self":[{"href":"https:\/\/easyextract.online\/blog\/wp-json\/wp\/v2\/posts\/470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easyextract.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easyextract.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easyextract.online\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/easyextract.online\/blog\/wp-json\/wp\/v2\/comments?post=470"}],"version-history":[{"count":0,"href":"https:\/\/easyextract.online\/blog\/wp-json\/wp\/v2\/posts\/470\/revisions"}],"wp:attachment":[{"href":"https:\/\/easyextract.online\/blog\/wp-json\/wp\/v2\/media?parent=470"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easyextract.online\/blog\/wp-json\/wp\/v2\/categories?post=470"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easyextract.online\/blog\/wp-json\/wp\/v2\/tags?post=470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}