ISO 8583 Parser
about this site

关于 ISO 8583 ParserAbout ISO 8583 Parser

本站是一个免费、纯浏览器端的 ISO 8583 / EMV 报文解析工具,外加一个讲清卡支付报文的知识专栏。它由一位在卡组织与发卡系统一线做交易处理的工程师独立开发,目的很简单:让排查一笔卡交易不再需要肉眼数位图。 This is a free, entirely browser-side ISO 8583 / EMV message decoder, plus a knowledge base that explains card-payment messaging. It is built and maintained by one engineer who works on card transaction processing day to day, for a simple reason: debugging a card transaction shouldn't require counting bitmap bits by hand.

为什么会有这个工具Why this tool exists

做卡支付的人都熟悉这个场景:生产上一笔交易失败,你手里只有一串十六进制报文。要知道它是什么交易,得先判断编码(ASCII / BCD / EBCDIC),再解 MTI、数位图、按每个域的长度格式一段段切、最后还要把 DE55 里的 EMV TLV 一个 tag 一个 tag 拆开。熟练的人也要十几分钟,而且很容易在变长域(LLVAR / LLLVAR)上错一位,后面全乱。Anyone in card payments knows the scene: a transaction fails in production and all you have is a hex blob. To know what it even was, you must first guess the encoding (ASCII / BCD / EBCDIC), decode the MTI, count the bitmap, slice every data element by its own length format, and finally break DE55 apart tag by tag. Even for an expert that's fifteen minutes — and one miscounted digit in an LLVAR field shifts everything after it.

市面上的工具要么要下载安装,要么要把报文贴到别人的服务器上——而报文里含卡号、账户信息,合规上根本不该外传。所以就有了这个站:打开网页、粘贴、立刻出结果,数据一步都不离开你的电脑。Existing tools either need installing, or ask you to paste the message onto someone else's server — yet these messages carry PANs and account data that compliance says must never leave your environment. Hence this site: open a page, paste, get the answer, and the data never leaves your machine.

它能解析什么What it decodes

准确性从哪来Where the accuracy comes from

域定义与含义整理自 ISO 8583 标准本身(1987 / 1993 / 2003 各版)、各卡组公开发布的接口规范与 EMVCo 公开规范(Book 3 数据元与标签),再结合作者在真实生产报文上的处理经验校对。凡是各家口径不一致的地方(最典型的是私有域和报文头),我们会在文章里写清"这是某某卡组的约定",而不是当成通用标准。Field definitions come from the ISO 8583 standard itself (1987 / 1993 / 2003 editions), the publicly published interface specifications of the card networks, and EMVCo's public specifications (Book 3 data elements and tags) — then cross-checked against real production messages. Where networks genuinely disagree (private fields and headers, above all), the articles say "this is scheme X's convention" rather than dressing it up as a universal rule.

不含任何非公开内容。本站不使用、不转载任何卡组织的保密规范、测试密钥或客户数据。示例报文全部为构造数据,卡号为测试号段,不对应任何真实账户。No confidential material. This site does not use or reproduce any network's confidential specification, test keys or customer data. All sample messages are synthetic, using test PAN ranges that map to no real account.

解析器是尽力而为的工程工具,不是认证过的合规产品。发现某个域解错了、或某卡组的口径需要补充,欢迎用首页的反馈框告诉我们——修正会直接进下一次更新。The parser is a best-effort engineering tool, not a certified compliance product. If a field decodes wrongly, or a scheme's convention needs adding, use the feedback box on the home page — corrections ship in the next update.

隐私:报文一步都不离开你的浏览器Privacy: messages never leave your browser

解析逻辑是纯客户端 JavaScript。你粘贴的报文不会被上传、不会被记录、也不会进任何日志或数据库,关掉页面就没了。你甚至可以断网使用:页面加载完之后,拔掉网线照样能解析。我们本地只存界面偏好(语言、深浅色)。完整说明见 隐私政策Privacy PolicyAll parsing is client-side JavaScript. What you paste is never uploaded, never logged, and never touches a database — close the tab and it's gone. You can verify this by going offline: once the page has loaded, it parses fine with the network disconnected. The only thing stored locally is your interface preference (language, theme). See the full Privacy Policy.

独立性与广告Independence and advertising

本站与 Visa、Mastercard、China UnionPay、American Express、JCB、Discover、EMVCo 或 ISO无任何隶属、赞助或认可关系。相关名称与商标归各自所有者所有,此处仅为说明技术差异而作指称性使用。This site is not affiliated with, sponsored by or endorsed by Visa, Mastercard, China UnionPay, American Express, JCB, Discover, EMVCo or ISO. Those names and marks belong to their respective owners and are used here only to refer to technical differences.

工具对所有人免费。服务器与域名成本由页面上的 Google AdSense 广告覆盖。广告位与解析结果完全分离——没有任何广告主能影响我们怎么解析一个字段、或文章里怎么写。The tool is free for everyone. Hosting and domain costs are covered by the Google AdSense units on the page. Advertising is fully separated from the content — no advertiser has any say in how a field is decoded or what an article says.

给谁用Who it's for

发卡 / 收单 / 转接系统的开发与测试、支付网关对接方、生产运维与客服二线、以及正在学卡支付的人。如果你刚入门,建议从 四方模型读懂 ISO 8583 报文 两篇开始,再回来用工具边解边对。Developers and QA on issuing / acquiring / switch systems, gateway integrators, production support and second-line ops — and anyone learning card payments. New to this? Start with the four-party model and reading an ISO 8583 message, then come back and decode alongside the tool.

免责声明Disclaimer

本站内容为技术科普与参考信息,不构成法律、合规或财务建议,也不能替代你与卡组织 / 收单方之间的正式接口文档。真实对接一切以对方最新的规范文档为准。因使用本站信息造成的任何后果,本站不承担责任。Everything here is technical reference and education. It is not legal, compliance or financial advice, and it does not replace the formal interface documentation agreed with your network or acquirer — for a real integration, their latest specification always wins. No liability is accepted for outcomes arising from use of this information.

联系Contact

纠错、想支持的卡组 / 数据域、合作或商务问题,请发到 [email protected],或直接用首页底部的反馈框。每一条都会看。Corrections, schemes or data elements you want supported, partnership or business enquiries: [email protected], or use the feedback box at the bottom of the home page. Every message gets read.