🖼️
🎨

Inline an Image in CSS

Embed a small icon or background as a data URI in your stylesheet.

មិនចាំបាច់ចូលគណនីឯកសារនៅជាឯកជន

ទម្លាក់ឯកសារនៅទីនេះ ឬចុចដើម្បីរុករក

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.

CSS tips

🎨

The CSS snippet gives you a ready background-image: url(...) with the data URI inlined.

Inlining a small icon removes an HTTP request, which can speed up first paint.

📏

Keep it to small images — Base64 is ~33% larger, so big images bloat your CSS.

🔒

Encoded in your browser — never uploaded.

វាដំណើរការដោយរបៀបណា

1
ជ្រើសរើសឯកសារ
Drop your file into the tool above. It stays entirely on your device — nothing is sent to any server.
2
ដំណើរការ
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
ទាញយក
Get your result instantly. Nothing is stored after you leave the page — complete privacy.

ហេតុអ្វីត្រូវប្រើរបស់យើង?

ឥតគិតថ្លៃទាំងស្រុង — គ្មានថ្លៃដែលលាក់ ឡើយ
មិនចាំបាច់មានគណនី អ៊ីមែល ឬចូលគណនី
ឯកសារមិនដែលចេញពីឧបករណ៍របស់អ្នក
គ្មានដែនកំណត់ទំហំឯកសារ
គ្មានស្នាមមាតិការនៅលើលទ្ធផលណាមួយ

Also check out…

សំណួរដែលសួរជាញឹកញាប់