PasteZap
🌐 简体中文
免费 · 无需注册

免费 · 图片

图片转文字(OCR).

在浏览器本地通过 OCR 从照片、截图和扫描图片中提取文字,支持包括中文、阿拉伯语在内的 11 种语言。可检查、修改、复制或导出为 TXT 和 Word。

开始之前

部分技术控件使用英语。支持 Unicode 文本;文件格式和输出语言取决于具体工具。

下面以英语列出技术限制。处理大型文件或使用结果之前,请先查看这些限制。

Image to text · local OCR

JPG, PNG, WebP, BMP or GIF (first frame) · up to 10 images, 15 MiB each, 60 MiB per run, 25 megapixels per image. Images stay in your browser; the OCR engine and selected language models load from this site (about 2–20 MB per model, cached after first use).

Printed text, screenshots and clear photos work best. Handwriting, decorative fonts, low resolution, blur, perspective and complex tables are unreliable. Recognition does not rebuild layout, tables or formatting. Always review the text before relying on it.

Or drag images here, or paste a screenshot with Ctrl+V / ⌘V.

Recognition languages · select 1–3

Enlargement and cleanup apply to recognition only; your files are not modified. Large images are reduced to about 12 megapixels for recognition.

从图片中提取文字

  1. 选择、拖入或粘贴最多十张图片:照片、截图或扫描件(JPG、PNG、WebP、BMP 或 GIF 的第一帧)。
  2. 从英语、法语、阿拉伯语、西班牙语、德语、葡萄牙语、意大利语、荷兰语、印地语、简体中文和日语中选择一到三种识别语言。
  3. 提取文字。置信度低于 80% 的词会被高亮,请检查并修改。
  4. 复制文字,或下载为 .txt 或 Word 文件。

示例:粘贴一张字很小的深色模式截图。自动清理会在识别前反色并放大图片,几秒钟后即可复制修正后的文字。

获得好结果的建议

  • 使用清晰、端正、光线充足的印刷文字图片。手写、花体字、模糊、强烈透视和复杂表格的识别结果不可靠。
  • 只选择图片中实际出现的语言;添加不必要的语言可能降低准确度。
  • 只提取文字,不还原版式:表格和格式不会重建。Word 文件只包含文字,不包含图片。
  • 识别使用 PasteZap 提供的模型在您的浏览器中完成,图片不会被上传。处理 PDF 文件请使用 PDF OCR;处理多页纸质文件可试试 文档扫描。

限制与支持格式

输入内容在您的设备上处理。

英语技术说明

JPG, PNG, WebP, BMP or GIF first frame; up to 10 images, 15 MiB each, 60 MiB and 500,000 characters per run, 25 megapixels per image. Images are reduced to about 12 megapixels for recognition. Printed text only; handwriting, decorative fonts, blur, perspective and complex tables are unreliable. No layout, table or formatting reconstruction.

Recognition uses Tesseract LSTM models (tessdata_best) served from this site: English, French, Arabic, Spanish, German, Portuguese, Italian, Dutch, Hindi, simplified Chinese and Japanese, up to three per run. Images are decoded with their EXIF orientation, optionally rotated, enlarged when text is small and cleaned up: automatic mode converts to grayscale, stretches contrast and inverts light text on dark backgrounds. Layout modes cover automatic page segmentation, a single column, a single block or a single line; automatic mode retries a single block when nothing is found. Confidence is reported per image and words below 80% are highlighted, but confidence is not an accuracy guarantee. Text is editable before copying or export; Word export places one image per page and does not include the images. Generated example checks are not a general accuracy measurement. Images stay in the browser.

Paste a dark-mode screenshot with small text: automatic cleanup inverts and enlarges it before recognition, then copy the corrected text.

常见问题

能识别手写文字吗?

不可靠。模型是为印刷文字设计的,手写笔记通常效果不佳。

支持哪些语言?

十一种:英语、法语、阿拉伯语、西班牙语、德语、葡萄牙语、意大利语、荷兰语、印地语、简体中文和日语,每次最多三种。

我的图片会被上传吗?

不会。OCR 在您的浏览器中运行,图片始终保存在您的设备上。