Paste your Markdown text below, then click "Remove images" to strip out the inline ![][imageX]
references and [imageX]: ...
lines.
What does this do? This tool scans your Markdown text using JavaScript regex patterns to remove any lines that define image data (e.g., [image1]: ...
) and all inline references of the form ![][imageX]
.
Why does this exist? I found that when I use Copy as Markdown in Google Docs there is a lot of image text at the end of the document, and this image text makes processing the clipboard contents harder for AI / LLMs like ChatGPT. So, I made this little utility to strip out the image text.
Created by Nels Nelson, code available on Github.