ឥតគិតថ្លៃ Image to Base64
Convert an image to a Base64 data URI for inline use in CSS, HTML, or Markdown. Copy ready-made snippets. Encoded in your browser; never uploaded.
ទម្លាក់ឯកសារនៅទីនេះ ឬចុចដើម្បីរុករក
PNG, JPG, WebP, GIF, SVG, AVIF, X, Image គ្មានដែនកំណត់ទំហំឯកសារ
ឯកសាររបស់អ្នកមិនដែលចេញពីឧបករណ៍របស់អ្នកទេ។ ការដំណើរការទាំងអស់កើតឡើងក្នុងស្រុកនៅក្នុងបរិយាកាស browser របស់អ្នក។
Convert an image to a Base64 data URI you can paste directly into CSS, HTML, or Markdown — no separate file needed. Encoded in your browser; never uploaded.
Optimize for your platform
វាដំណើរការដោយរបៀបណា
A data URI embeds an image directly into your code as text, so it loads without a separate file request — handy for small icons and self-contained HTML. This encodes it in your browser.
- 1You drop in an imageIt's read locally with the FileReader API — never uploaded.
- 2It's Base64-encodedThe image bytes become a data: URI (data:image/...;base64,…) right in your browser.
- 3You pick a snippetCopy the raw data URI, or ready-made CSS (background-image), HTML (<img>), or Markdown.
- 4Paste it into your codeThe image now travels inline with your CSS/HTML — no extra file to host.
The image is encoded entirely on your device. Note that Base64 is ~33% larger than the original, so data URIs are best for small images.
ហេតុអ្វីត្រូវប្រើរបស់យើង?
ឧបករណ៍ពាក់ព័ន្ធ
កម្មវិធីបង្ហាប់រូបភាព
បង្ហាប់រូបភាព JPG, PNG, WebP, និង AVIF។ មើលការប្រៀបធៀបមុន/បន្ទាប់។
កម្មវិធីបំប្លែងទ្រង់ទ្រាយរូបភាព
បំប្លែងរវាង JPG, PNG, WebP, AVIF, GIF, និង BMP។
ការផ្លាស់ប្តូររូបភាព
ប្តូរទំហំរូបភាពតាមទំហំ ឬភាគរយ។ រក្សាសមាមាត្រ ជ្រើសរើសទ្រង់ទ្រាយលទ្ធផល គ្មានការបាត់បង់គុណភាព។
