Convert images to base64
Latest commit be081f6 Jul 4, 2014 @tm-minty Update


Now supports 2 and 3 version of Sublime Text


This is a Sublime Text plugin allowing you to open images as converted to base64.


Press Ctrl+i+b (hold Ctrl and consequently press i and b), like image->base64. Then select image to be copied to clipboard as base64 code.

Also if you use Sublime Text 2 you can just click on image file in sidebar or open it and it will be opened as base64 code.


Package Controll

The easiest way to install this is with Package Control.

  • If you just went and installed Package Control, you probably need to restart Sublime Text before doing this next bit.
  • Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
  • Select "Package Control: Install Package" (it'll take a few seconds)
  • Select Image2Base64 when the list appears.

Package Control will automatically keep Git up to date with the latest version.


Create plugin folder in Sublime's user packages directory and copy all plugin files there. Then restart Sublime Text.


Andrey Petrov for code review and Python consultancy

Ladios Jonquil and Julien Bouquillon for contributing

Contact me

If you have some problems or improvements with it, contact me via GitHub.