点击或拖拽图片到这里
支持 JPG, PNG, WebP 格式,文件大小不超过 20MB
What this tool does
Turn a small image into Base64 and copy HTML img, CSS background-image, or React snippets. Best for tiny icons you don’t want as separate requests.
How to use
- Upload (ideally under 100KB).
- Pick HTML, CSS, or React.
- Copy the snippet.
FAQ
Why keep images small?
Base64 grows ~33% and can’t be cached separately — large inlines hurt pages.
Is the file uploaded?
No — Base64 is built locally from the file.
More tools in thedeveloper toolbox. For store preview shots, try theApp Store screenshot maker.