TapToConvert All conversions

Home / Document Converter / TXT Converter / TXT to JPEG

TXT to JPEG Converter

Convert a TXT file to JPEG 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 JPEG 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 JPEG

    • 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 JPEG; a longer one comes back as a ZIP file with one JPEG per page, named page-01.jpeg, page-02.jpeg 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 JPEG 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 JPEG 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 JPEG". 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 JPEG with its download button. Our server has already deleted both your TXT and the JPEG by then.

    Why convert TXT to JPEG?

    TXT files usually come from notes, logs, extracted text and anything that must open everywhere. People convert them to JPEG 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. JPEG opens on every phone and computer without an office program.

    How to convert TXT to JPEG 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 JPEG 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 JPEG 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 JPEG 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 JPEG is saved to the Download folder, where any file manager can find it.

    Best settings for TXT to JPEG

    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 JPEG: the differences

    TXTJPEG
    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, scanned documents and web images
    MIME typetext/plainimage/jpeg

    About TXT and JPEG 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 JPEG file?

    JPEG and JPG are the same format. The three-letter extension dates from old Windows systems that only allowed three characters after the dot, and both names are still in use.

    TXT to JPEG 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 JPEG 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 JPEG converter FAQ

    Will I lose quality converting TXT to JPEG?

    The images are sharp enough to read on any screen: 150 dpi is the resolution most documents are printed at. JPEG 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 JPEG a different size from the TXT?

    Each JPEG holds a full page of pixels, so the images together are usually larger than the TXT, which stores text and drawing instructions. A JPEG 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 JPEG 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 JPEG 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 JPEG 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 JPEG file?

    JPEG opens in every browser and image viewer. JPEG is common for camera photos, scanned documents and web images.

    Is this TXT to JPEG 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 JPEG 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 JPEG is saved to your Downloads folder.

    Convert TXT to other formats

    Convert other formats to JPEG

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

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