ตัวเข้ารหัสและ Crypto
ตัวแปลง Data URL
ตัวแปลง data URL ฟรี เข้ารหัสไฟล์ใดๆ เป็น base64 data URL สำหรับการฝังแบบอินไลน์ หรือถอดรหัส data URL กลับเป็นไฟล์ ใช้งานในเบราว์เซอร์ ไม่ต้องอัปโหลด
หมายเหตุจากบรรณาธิการ
Understanding · Files, smuggled into a string.
บทเชิงลึกนี้มีให้บริการเฉพาะภาษาอังกฤษในขณะนี้ เครื่องมือแปลงด้านบนทำงานในภาษาของคุณ บทความอธิบายแบบยาวยังไม่ได้แปล
คำถามที่พบบ่อย
Quick answers.
›What is a Data URL?
A Data URL is a scheme used to embed data in-line in documents, formatted as `data:[mediatype][;base64],data`. It is commonly used for small icons or CSS assets to reduce external dependencies.
›Are my files secure?
Yes. The encoding and decoding happen entirely within your browser's memory. No file data is sent to our servers or stored permanently.
›When should I avoid Data URLs?
Base64 encoding increases file size by approximately 33% compared to binary files. Large files should be kept as separate assets to avoid slowing down page renders and to allow for browser caching.
›How do I use the output in CSS?
Copy the generated string and paste it into a `url()` function, such as `background-image: url('data:image/png;base64,...');`. This embeds the image directly within your stylesheet.
ผู้คนยังค้นหา
Use with
What people reach for next.
เครื่องมือที่เกี่ยวข้อง
More in this room.
- Base64 เข้ารหัส / ถอดรหัสเข้ารหัสและถอดรหัส Base64 — ปลอดภัยสำหรับ Unicode
- การเข้ารหัส / ถอดรหัส URLเข้ารหัสและถอดรหัส URL อย่างปลอดภัยด้วยอักขระเปอร์เซ็นต์
- ตัวเข้ารหัส / ถอดรหัสเอนทิตี HTMLหลีกเลี่ยงหรือยกเลิกการหลีกเลี่ยงอักขระพิเศษของ HTML
- ตัวแปลงเลขฐาน (Hex / Binary / Octal)แปลงระหว่างเลขฐานสิบหก, ฐานสอง, ฐานแปด และฐานสิบ
- Base32 เข้ารหัส & ถอดรหัสRFC 4648 Base32 – ทั้งสองทิศทาง ในเบราว์เซอร์
- ตัวแปลง ASCII / Unicodeตรวจสอบทุกโค้ดพอยต์ของสตริงใดๆ