0

I have some HTML files which need few external files such as CSS, PNG etc. Instead of linking to those external files, I'd like to make the HTML files self-contained.

This means,

  • <link rel="stylesheet" ...> becomes <style>...</style>
  • <img src="image.png"> becomes <img src="data::image/png;base64 ...">
  • <script src="..."> becomes <script>...</script>

Ideally, it supports other stuff that I can't think of at the moment.

I'm looking for such a tool on Windows. It must work offline and be gratis.

  • Maybe use notepad++ to change some text from one string to another, in all the files within a folder. – aparente001 Jul 10 '18 at 16:16

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.