By · Last updated 2026-03-10

返回博客技术

LibreOffice 与 Office:个人信息脱敏对比

LibreOffice(anonym.legal 扩展)与 Microsoft Office(Office 加载项)个人信息匿名化功能的详细对比。

March 10, 20268 分钟阅读
LibreOffice extensionOffice Add-in comparisondocument redactionPII tool comparisonopen source privacy

两套办公套件,同一检测引擎

2026年更新版。 团队常会问:LibreOffice 和 Microsoft Office 中的个人信息检测效果是否一致?

使用 anonym.legal,答案是肯定的。两款工具连接同一后端,共享 285+ 种实体类型,支持 48 种语言。唯一的区别在于各平台的安装方式,而非检测内容。

功能对比表

功能LibreOffice 扩展Office 加载项
检测引擎Presidio 混合引擎(正则 + spaCy NLP)Presidio 混合引擎(正则 + spaCy NLP)
实体类型285+285+
语言4848
处理方式替换、掩码、脱敏、哈希、加密替换、掩码、脱敏、哈希、加密
文字处理Writer(保留格式)Word(保留格式)
电子表格Calc(基于单元格)Excel(基于单元格)
演示文稿Impress(文本对象)PowerPoint(文本对象)
预览最多 50 个实体最多 50 个实体
单实体控制支持支持
预设支持(同步)支持(同步)
加密密钥ZK 封装,同步ZK 封装,同步
登录ZK(Argon2id)ZK(Argon2id)
平台Windows、macOS、LinuxWindows、macOS、Web、iPad
文件类型.oxt 文件加载项清单
离线模式不支持(需要 API)不支持(需要 API)
费用相同代币定价相同代币定价

格式保留:Writer 与 Word 的差异

两款工具在替换个人信息时均保留文本格式,但使用不同的 API 实现。

LibreOffice Writer 使用 UNO API,可保留七项字体属性:字族、字号、字重、字形、颜色、下划线和删除线,以及四项段落属性:对齐方式、首行缩进、左边距和右边距。样式和表格保持不变。

Microsoft Word 使用 Office.js API,可保留字体名称、字号、加粗、斜体、颜色、下划线、删除线和突出显示。段落对齐、缩进和行距同样保留。修订记录、页眉和页脚完好无损。

两者的结果相同:个人信息被替换,所有其他格式完整保留。

两者的差异

平台覆盖

Office 加载项支持 Windows、macOS、Web 和 iPad。LibreOffice 扩展支持 Windows、macOS 和 Linux。

LibreOffice 在 Linux 平台具备优势,因为 Microsoft 套件在 Linux 上不可用。加载项则在 iPad 和浏览器端使用场景中更具优势。

安装方式

LibreOffice: 下载 .oxt 文件,双击安装。个人使用无需管理员审批。

Office 加载项: 通过清单 URL 加载,或通过 Microsoft 365 管理中心部署。企业团队可使用集中管理控制台。

企业部署

Microsoft 365 提供更强大的企业工具:管理中心部署、组策略和 Intune。对于 LibreOffice,管理员通过自己的渠道分发 .oxt 文件。

文件格式规范

Microsoft 套件是大多数企业环境的标准选择。LibreOffice 在欧洲政府机构和学校中较为普遍。两者均可打开对方的文件,但各自在原生格式下表现最佳。

跨平台一致的检测结果

在两套办公套件中使用 anonym.legal 的核心优势在于:检测结果完全一致。

在 Writer 和 Word 中运行相同的文本,识别出的实体相同,置信度分数相同。预设在两者之间同步,加密密钥也同步。

这消除了真实存在的合规风险。许多团队为 Word 使用一种脱敏工具,为 LibreOffice 使用另一种,由此产生漏洞。详情请参阅预设如何防止配置偏差

如何选择

选择 LibreOffice 扩展,当:

  • 您的团队使用 LibreOffice
  • 您在 Linux 上工作
  • 政策要求使用开源软件
  • 您希望在低成本文字处理中内置个人信息脱敏功能

选择 Office 加载项,当:

  • 您的团队使用 Microsoft 365
  • 您需要 iPad 或浏览器端支持
  • 您需要通过管理中心进行企业部署
  • 文件必须保持 .docx、.xlsx 或 .pptx 格式

同时使用两者,当:

  • 您的环境是混合型——部分团队使用各自的套件
  • 您同时接收 ODF 和 OOXML 格式的文件

预设同步和共享加密密钥使两者之间的切换更加流畅。

快速上手

两者均采用基于代币的定价方式。免费套餐:每月 200 个代币。

数据来源

  • anonym.legal LibreOffice 扩展文档 — 已验证(产品中功能同等性已确认)
  • anonym.legal Office 加载项文档 — 已验证(产品中功能参考已确认)
  • GDPR 第 4(5) 条 — 数据掩码定义;前言 26 — 匿名化范围 — 已验证(外部来源)

准备好保护您的数据了吗?

开始使用 285 种实体类型在 48 种语言中匿名化 PII。

About this page

We update this page when our platform or the law changes.

Read our founder note for how we work.

Each change shows up in the timestamp at the top.

Related reading

We follow these rules

  • GDPR (EU 2016/679).
  • ISO/IEC 27001:2022.
  • NIS2 (EU 2022/2555).
  • HIPAA safe harbor under 45 CFR § 164.514(b)(2).

Our promise

We do not sell your data.

We do not train models on your text.

We store your files in Germany.

You can delete your account at any time.

You own your work.

Where we run

Our servers live in Falkenstein, Germany.

We use Hetzner. They hold ISO 27001 certification.

All data stays in the EU.

Backups run every day.

Need help?

Email support@anonym.legal.

We reply within one business day.

How we test

We run a full check suite on every release.

Each surface gets its own sweep script and report.

Human reviewers spot-check the output each week.

We track recall and precision on a labelled set.

Bad runs block the deploy.

What we never do

  • We never sell your information to third parties.
  • We never train models on what you upload.
  • We never keep your work after you delete it.
  • We never share keys with any outside firm.
  • We never run ads inside the product.

Plans in plain words

We sell credits, not seats.

One credit covers one short job.

Long jobs use a few credits each.

You can top up at any time.

Unused credits roll over each month.

Read the plans page for current rates.

Who built this

A small team of engineers and lawyers built this.

We ship from Europe and work in the open.

Our founder note spells out why we started.

Where to start

How the parts fit

A browser add-on cleans text inside Chrome.

A Word plug-in handles drafts in Office.

A small desktop tool works on whole folders.

An agent protocol link feeds large models safely.

All four share one core engine and one rule set.

Words from our team

We started this work after a lunch about cookies.

One friend kept getting odd ads on her phone.

We asked why a court file leaked through a draft.

We sketched the first build on a napkin that week.

By month three we had a tiny demo for a friend.

She used it on her first case the next day.

Common questions we hear

Can the tool read scanned PDFs? Yes, with OCR.

Does it work on long files? Yes, in small chunks.

Can I roll my own rule set? Yes, save it as a preset.

Does it run offline? The desktop build runs offline.

Do you keep my files? No, the cloud build wipes after each run.

Will it learn from my work? No, we never train on inputs.

A short tour of the workflow

Upload a file or paste a snippet of prose.

Pick the entities you want gone from the draft.

Choose a method: replace, mask, hash, encrypt, or redact.

Press run and watch the side panel show each hit.

Skim the result and tweak any rule that misfired.

Save the cleaned file or send it to a teammate.