An over-engineered-memory-safe search and replace base64 inline images to an uploaded URL when a post is saved.
As of April 2026, ImageBase642File is a WordPress image plugin with 10 active installations and a 0/5 rating0. It has been downloaded 1.2K+ times in total. Requires WordPress 5.1+ and PHP 7.1+. Available on WordPress.org since 2021. Last updated 3 years ago — may have compatibility concerns. Top alternative: Firelight Lightbox.
This plugin converts base64 encoded inline images to an absolute URL by; uploading inline image into WordPress directory. This happens when a post is saved.
It converts this:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" alt="Red dot" />
To this:
<img src="https://site.com/wp-content/uploads/2021/05/post_title_id_no.png" alt="Red dot" />
I was working on an external editor to allow users to post on WordPress, this editor embeds images in base64 encoded format. This makes post contents too long to load on-page and also cannot be stored on buffer unless PHP is set to very high memory usage.
This plugin converts the encoded base64 inline images to a link by scrapping ou…
| WordPress | 5.1+ requiredTested up to 6.0.11 |
| PHP | 7.1+ required |
v1.0.1
– Support for product post type
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.