TapToConvert All conversions

Home / Document Converter / TXT Converter / TXT to JPG

TXT to JPG Converter

Convert a TXT file to JPG online, free and without signing up. The conversion uses LibreOffice and MuPDF, two open-source tools, on our conversion server, and your file is deleted as soon as the JPG is ready.

Drop files hereChoose TXT files Converted on our server, then deleted right away. Up to 25 MB per file.

Add a file from a URL

The file is fetched by your browser straight from that website, not through our servers. It works when the site allows other websites to download its files.

Settings

Add files to begin.

    What happens when you convert TXT to JPG

    • The TXT is opened by LibreOffice, the open-source office suite, on our conversion server, laid out exactly as it would print, and each page is then drawn as an image by MuPDF at 150 dpi, the resolution most documents are printed at.
    • A one-page TXT gives a single JPG; a longer one comes back as a ZIP file with one JPG per page, named page-01.jpg, page-02.jpg and so on, for up to 100 pages.
    • At 150 dpi, an A4 page becomes about 1240 by 1750 pixels. The longest side is capped at 6,000 pixels.
    • The JPG files are saved at 92 percent quality, which keeps text readable while staying far smaller than PNG.
    • The text is set in the default font of a new document, one paragraph per line, on A4 pages.
    • Where the file uses a font our server does not have, a metric-compatible one is used instead: Carlito for Calibri, Caladea for Cambria and Liberation fonts for Arial, Times New Roman and Courier New, so lines break where they did. Unusual or decorative fonts may look different.
    • This conversion runs on our server: the file is uploaded, converted, and deleted together with the result as soon as the result has been sent back to you. Nothing is kept. Files up to 25 MB are accepted.

    How to convert TXT to JPG online

    1. Press "Choose TXT files" and select one or more files, or drag them onto the box. Files up to 25 MB each can be converted.
    2. There are no settings to choose: the converter keeps everything the target format can hold.
    3. Press "Convert to JPG". The file is uploaded to our conversion server, converted in a few seconds, and deleted together with the result as soon as the result is sent back.
    4. Save each JPG with its download button. Our server has already deleted both your TXT and the JPG by then.

    Why convert TXT to JPG?

    TXT files usually come from notes, logs, extracted text and anything that must open everywhere. People convert them to JPG to share a page as a picture: in a chat or a social post, on a website, in a presentation, or in an upload form that only accepts images. JPG opens on every phone and computer without an office program.

    How to convert TXT to JPG on Windows, Mac, iPhone and Android

    On Windows

    Open this page in Chrome, Edge or Firefox, drag your TXT files in from File Explorer, and press Convert. Each JPG is saved to your Downloads folder.

    On a Mac

    Safari, Chrome and Firefox all work. Drag the TXT files from Finder onto the drop zone and the JPG files land in Downloads.

    On iPhone and iPad

    Open the page in Safari and tap Choose TXT files. You can pick from Photos or from the Files app. The converted JPG appears in Files, in the Downloads folder; to put it in your photo library, open it there, tap Share and choose Save Image.

    On Android

    Open the page in Chrome, tap Choose TXT files and pick them from Files or your gallery. The JPG is saved to the Download folder, where any file manager can find it.

    Best settings for TXT to JPG

    There are no settings: every page is rendered at 150 dpi, the longest side is capped at 6,000 pixels, and at most the first 100 pages are converted.

    To get one page only, save just that page as its own file first, or pick the image you want out of the ZIP. For a document you will print or send, PDF keeps the text sharp at any size and selectable.

    TXT vs JPG: the differences

    TXTJPG
    Full namePlain textJoint Photographic Experts Group image
    Typedocumentimage
    Created byno single authorthe Joint Photographic Experts Group
    First released19631992
    CompressionLosslessLossy
    Transparencyn/aNo
    Animationn/aNo
    Vector or rastern/aRaster
    Colourn/a24-bit colour, 16.7 million colours
    What it holdscharacters only, with no formatting24-bit colour, 16.7 million colours
    In a browseropens in every browser, text editor and phoneopens in every browser and image viewer
    Common usesnotes, logs, extracted text and anything that must open everywherecamera photos, web images and email attachments
    MIME typetext/plainimage/jpeg

    About TXT and JPG files

    What is a TXT file?

    A TXT file holds nothing but characters: no fonts, images or layout. Modern text files are usually UTF-8, which covers every language.

    What is a JPG file?

    JPG discards fine detail the eye is least sensitive to, which is why a photo shrinks to a tenth of its raw size but text and sharp edges pick up blocky artefacts. Every re-save at a lossy setting throws away a little more.

    TXT to JPG not working? Common problems

    • "Files up to 25 MB can be converted." Server conversions have a size limit. Compress the images inside the file, or split it, and try again.
    • "The conversion took too long and was stopped." Very long or complex files can pass the 90 second limit. Split the file and convert the parts.
    • "This file is not really in TXT format." The converter checks every file before it runs anything, so a file of another format renamed to .txt is refused. Choose the page for its real format.

    Convert TXT to JPG from the command line

    LibreOffice and Poppler do the same on your own computer: the first command makes a PDF, the second writes one image per page.

    soffice --headless --convert-to pdf input.txt
    pdftoppm -r 150 -jpeg -jpegopt quality=92 input.pdf page

    Converting on your own computer keeps the file entirely local, which is worth it for very large or very sensitive documents. For everything else, the converter on this page does it without installing anything.

    TXT to JPG converter FAQ

    Will I lose quality converting TXT to JPG?

    The images are sharp enough to read on any screen: 150 dpi is the resolution most documents are printed at. JPG adds slight softness around small text; choose PNG for crisp text. The text in an image can no longer be selected or searched.

    Why is the JPG a different size from the TXT?

    Each JPG holds a full page of pixels, so the images together are usually larger than the TXT, which stores text and drawing instructions. A JPG of a page of text is usually tens of kilobytes; pages full of photos run to a few hundred.

    Are my TXT files uploaded?

    Yes, for this conversion. A faithful TXT to JPG conversion needs LibreOffice and MuPDF, two open-source tools, which cannot run in a browser. The file travels over an encrypted connection, is converted in a private temporary folder, and is deleted together with the JPG as soon as the result has been sent back to you. We do not keep, read or share it.

    Can I convert several TXT files to JPG at once?

    Yes. Select or drop as many files as you like; they are converted one after another and each gets its own download button.

    How do I open a JPG file?

    JPG opens in every browser and image viewer. JPG is common for camera photos, web images and email attachments.

    Is this TXT to JPG converter free?

    Yes. There is no sign-up and no watermark. Because this conversion uses our server, there is a fair-use limit of 25 MB per file and a number of files per hour, which stops the service being overloaded.

    Can I convert TXT to JPG on my phone?

    Yes. It works in Safari on iPhone and iPad and in Chrome on Android. The conversion happens on our server, so it is as fast on a phone as on a computer; the JPG is saved to your Downloads folder.

    Convert TXT to other formats

    Convert other formats to JPG

    Looking for something else? Try the document converter or browse every conversion.

    Try MP4 to MP3, HEIC, merge PDF or compress video.