Upload a screenshot
Drop an image here, paste from clipboard, or choose a screenshot to start.
PNG, JPG, JPEG, and WebP up to 10 MB
อัปโหลด screenshot เพื่อเริ่มดึงข้อความ
ข้อความที่ดึงได้จะแสดงที่นี่หลัง OCR
เกี่ยวกับเครื่องมือนี้
Screenshot to Text & Code คืออะไร?
Screenshot to Text & Code ใช้ OCR ในเบราว์เซอร์เพื่อดึงข้อความที่อ่านได้และ source code จาก screenshots เหมาะสำหรับนักพัฒนาที่คัดลอก snippets จาก tutorial, chat, docs, PDF, terminal capture และ bug report โดยไม่ส่งภาพไปยัง AI หรือ backend service.
วิธีใช้งาน
1. ลาก เลือก หรือวาง screenshot แบบ PNG, JPG, JPEG หรือ WebP. 2. คลิก Extract Text หรือเปิด auto extract ตอน upload เพื่อทำงานเร็วขึ้น. 3. เปิด Advanced settings เฉพาะเมื่อจำเป็นต้องใช้ grayscale, contrast, invert หรือ upscale 2x preprocessing. 4. ตรวจ raw text, cleaned result หรือ Markdown code block แล้วเปลี่ยนภาษาที่ตรวจพบได้เมื่อจำเป็น. 5. คัดลอกข้อความ คัดลอก Markdown code block หรือดาวน์โหลดเป็น .txt / code file ตามภาษา.
การล้างโค้ด
ตัวเลือก cleanup จะ normalize smart quotes, ตัด trailing whitespace, ลบ prefix เลขบรรทัดที่พบบ่อย, normalize indentation และลด blank lines ที่ซ้ำกัน editor หลัง cleanup ยังแก้ไขได้เพื่อแก้ OCR mistakes ก่อน copy หรือ download.
การตรวจจับภาษา
Detector ใช้ deterministic heuristics สำหรับ JavaScript, TypeScript, HTML, CSS, JSON, SQL, XML, YAML, Markdown, Bash, Python, Java, PHP, Go, Rust, C, C++ และ C#. ใช้ช่วย syntax highlighting และเลือก file extension ได้ และยัง override เองได้สำหรับ screenshot ที่กำกวม.
Privacy และข้อจำกัด
คุณภาพ OCR ขึ้นอยู่กับ screenshot: font เล็ก, blur, compression artifacts, theme แปลก, ligatures หรือ background UI ที่แน่นอาจลด accuracy ดังนั้น capture ที่มี noise มากอาจต้องแก้ไขด้วยมือ.