How to Open an e-Gov / Japan Pension Service XML Document (公文書) When Edge or Chrome Shows a Blank Page
Japanese government e-filing (e-Gov, Japan Pension Service) delivers official documents as XML with an XSL stylesheet. Chrome 158 (17 November 2026) removes the browser feature that displayed them. Open the ZIP in your browser without uploading it, print it or save it as PDF, and see how this differs from e-Gov's own viewer.
Open the official document right here
Drop the ZIP you received into the dashed box below, without unzipping it, and the document appears here, laid out by the XSL stylesheet that came with it. You can also drop the .xml and .xsl files together. Print it, or save it as PDF or HTML.
Drop the ZIP of an official document, or its .xml and .xsl files together, here
or click to choose files (more than one is fine)
For official documents (XML + XSL) from e-Gov, the Japan Pension Service, Hello Work, labour standards offices and others. Works on Mac and iPhone too. The files never leave your device.
The file is read on your own device and never sent anywhere.
You filed something through e-Gov, Japan's government e-filing service, and the decision notice (決定通知書) came back as a ZIP. Or the Japan Pension Service (日本年金機構) sent your company a notice electronically. You double-click the .xml inside, and the browser shows a blank page, or a run of text with no layout. These official documents (公文書, koubunsho) are an XML file holding the content plus an XSL stylesheet that says how to lay it out. If the browser cannot apply the XSL, the document does not display properly.
This article explains what is in the ZIP and why it will not open (including Chrome's change in November 2026), then three ways to open it: on this page, with e-Gov's own viewer, and in Safari. The Japanese names of buttons and settings are given in brackets, since e-Gov and the Japan Pension Service publish their instructions in Japanese.
What is in the ZIP
An official document downloaded from e-Gov comes as a ZIP (a folder) with several files in it, even when it is a single document. e-Gov's FAQ says the document itself is the file with the "xml" extension, and the other files are there to help display it.
According to the Japan Pension Service, a notice sent after an e-filing is made up of:
- The cover document (鑑文書, kagami): carries the Japan Pension Service's electronic signature, and is sent together with the notices.
- Decision notices, the copy of the filed data (センドバックデータ) and return slips (返戻票): each one is an XML file paired with an XSL file.
- PDF: when an insured person's name contains characters outside the standard set (外字), the decision notice or return slip comes as a PDF instead.
- CSV: some notices from the online employer pension information service also include a CSV file of the data.
The Japan Pension Service says that opening "日本年金機構からのお知らせ" (the XML file whose name starts with the arrival number) gives links to every document in the set.
The key point is that the XML and the XSL are a pair. e-Gov's FAQ warns that if the two files end up in different folders, the document no longer displays properly. Taking only the .xml out of the ZIP, or forwarding only the .xml by email, means it will not open.
Why it will not open
- By default, the XSL is not applied to an XML file on your PC: e-Gov's FAQ says that with default settings, XML documents that load an XSL stylesheet cannot be opened. The Japan Pension Service's instructions have you turn off Safari's local file restrictions, and open the document in Internet Explorer mode (IE mode) in Edge (see Method 3). A blank page after double-clicking the .xml does not mean the file is broken.
- The XML and XSL are apart: as above, they must be in the same folder. The Japan Pension Service also points out that double-clicking the ZIP to look inside is not the same as extracting it.
- The browser feature itself is going away: Chrome and Edge are removing XSLT, the feature that applies the XSL. The next section explains.
XSLT stops in Chrome 158 (17 November 2026)
Google has announced that it will remove XSLT from the browser. According to the Chrome Platform Status entry "Deprecate and remove XSLT" and the Chrome for Developers article, the plan is:
- Chrome 143 (2 December 2025): XSLT was officially deprecated.
- Chrome 158 (17 November 2026): XSLT stops working on Stable releases. Two things stop: the XSLTProcessor JavaScript API, and the
<?xml-stylesheet type="text/xsl" …?>processing instruction in an XML file that points to an XSL stylesheet. Official documents use that processing instruction to point to their XSL. - Chrome 176 (17 August 2027): the enterprise policy and the temporary extension for websites (an origin trial) stop too, and XSLT is disabled for everyone.
Google's reason is security: libxslt, the library that does the transformation, is an aging C codebase in which serious vulnerabilities keep being found.
Microsoft Edge is making the same change. Microsoft's Edge Beta channel release notes say that in Edge 159, browser-native XSLT will be off by default in the Stable channel, and that the XSLTEnabled policy for managed PCs is planned to stop working in Edge 176.
The Edge steps in the Japan Pension Service's PDF, however, use Internet Explorer mode. Microsoft's XSLT notes are about Edge's own XSLT and do not say what happens to IE mode, so we cannot tell you how long the IE mode steps will keep working.
The Chrome for Developers article says the Firefox and WebKit (Safari's engine) projects have also indicated plans to remove XSLT. The sources we read give no date for either.
Method 1: Open it on this page (nothing to install)
The viewer at the top of this article opens the document as it is. It does not rely on the browser's XSLT: a transformation component included in the page (libxslt) applies the XSL that came with the document. So it keeps working after Chrome 158. There is nothing to install, so it works on a locked-down work PC, and in the browser on a Mac or iPhone.
- Drop the ZIP you received into the dashed box (or click the box to choose it). No need to unzip it. If you already extracted it, select the .xml and .xsl files in the folder together.
- The cover document is shown first. When the ZIP holds several documents, switch between them with the document buttons (a drop-down list on a phone). Links from the cover document or "お知らせ" to the other notices do not work inside this page, so use these buttons instead.
- "Print" prints it, and "Save as PDF" makes a PDF (both open your browser's print screen; choose "Save as PDF" there). "Save as HTML" saves the document as displayed in a single HTML file.
The CSV, PDF and other files in the ZIP are not opened here; they are listed so you can save each one. e-Gov's FAQ says its ZIP files store the file names in UTF-8, and some unzipping tools on Windows garble them. This page reads the ZIP directly, so extraction cannot garble the names (it also reads ZIP files with Shift_JIS names made on Japanese Windows).
For safety, a few things differ from the original display. Scripts (programs) in the XSL's output do not run, and images or CSS from sites outside the file are not loaded. The page tells you how many outside addresses it did not load. The document is shown in a separate frame that cannot run programs. The electronic signature is not verified.
The viewer was checked against the published information on how these documents are built, and against sample documents built the same way. It has not been checked with a real official document. If one of yours displays wrongly, please tell us through the contact page (do not send the document itself).
Method 2: e-Gov's official document viewer
e-Gov has its own official document viewer (公文書表示). According to a Japan Pension Service notice, it was added on 18 March 2026. You reach it from the "公文書表示" link on the e-Gov e-filing top page (among the related sites, 電子申請の関連サイト) or from the My Page of the e-Gov e-filing application.
e-Gov's user guide (in Japanese) says you select all the extracted .xml and .xsl files and press the "公文書表示" button; it pairs each XML with its XSL, converts them into a readable form and opens each document in its own tab. You need to allow pop-ups for it. The guide adds that it can show any official document made of XML and XSL, not only ones received through e-Gov.
The difference from this page is whether the files are sent. The Japan Pension Service describes e-Gov's viewer as showing the document by uploading the xml and xsl files, and the viewer page's own script sends the selected .xml and .xsl to e-Gov's server and shows the converted result in a new tab. This page (Method 1) sends the files nowhere and converts them in your browser.
Method 3: Change Safari or Edge settings
e-Gov's FAQ and the Japan Pension Service's PDF (XML ファイル形式の公文書を開く方法) give steps for changing browser settings so that you can open the .xml in the extracted folder directly.
- Safari (Mac): in Safari's settings, under Advanced, turn on the Develop menu (メニューバーに"開発"メニューを表示), then choose Disable Local File Restrictions (ローカルファイルの制限を無効にする) in the Develop menu (if it is not there, it is in the Developer settings).
- Microsoft Edge (Windows): in Settings, under Default browser, turn on Allow sites to be reloaded in Internet Explorer mode (Internet Explorer モードでサイトの再読み込みを許可) and restart, then reload the document in Internet Explorer mode (the Japan Pension Service's PDF adds the document's address to the list of Internet Explorer mode pages).
The Edge steps come with caveats. e-Gov's FAQ reports that in Edge version 141 the menu item to reload in Internet Explorer mode may not appear, and gives an alternative using an IE mode button on the toolbar. It also says that where Internet Explorer has been fully disabled on certain versions of Windows 10, documents cannot be opened in IE mode.
The Safari steps work only while Safari can still run XSLT (as noted above, WebKit has indicated plans to remove it). e-Gov and the Japan Pension Service give no steps for Firefox, and we have not checked it.
Which to use
- You want to read it now, print it or save it as PDF, or you use Chrome or Edge: Method 1 (the viewer at the top of this article). The ZIP can go in as it is.
- You do not want the files to leave your device: Method 1. The files are read in your browser and sent nowhere.
- You want the government's own viewer: Method 2 (e-Gov's 公文書表示). The files are sent to e-Gov to be converted.
- You use Safari on a Mac and want to open the folder as it is: Method 3 (Safari settings).
- You need to verify the electronic signature: e-Gov's signature verification feature. This page does not verify it.
Related pages
e-Gov XML Document Viewer
Open e-Gov and Japan Pension Service documents (XML and XSL, or the ZIP as it is), then print or save as PDF or HTML
How to Open an XML File
Japanese tax deduction certificates (XML) that will not open: how to tell the type, view and print it, and how this differs from the tax agency's QR certificate system
What Is This File?
Find out what a file is from its contents, and how to open it, when the extension is missing or wrong
Frequently asked questions
Is the file sent anywhere when I open it here?
Can I check the electronic signature (that the document has not been altered)?
Can I see the CSV and PDF files in the ZIP?
The page says the XSL was not found.
Chrome or Edge on my work PC still opens these documents.
I want the contents as a CSV file.
Documents from work that won't open
Other tools for the same situation
About the author
Ren
Developer, OpenedFile
I build and maintain OpenedFile on my own. It started when a winmail.dat attachment landed in my inbox and nothing would open it — and every online converter I found wanted me to upload the file to their server first. So I wrote a TNEF parser from scratch instead, and every tool here has run entirely in the browser ever since.
More about OpenedFile