Getting photos into the right order before making a PDF comes down to one thing: controlling how your files are sorted before you add them to the converter. The tool places images in the order you add them. The sequence depends entirely on how your file browser presents the files when you select them.
How File Browsers Determine Image Order
Open a folder of images and your file browser sorts them by name by default. Camera names like IMG_0001 already sort by sequence because the numbers are padded with leading zeros. But if the browser is set to sort by date, size, or another field, the order you see may not match the naming order. Before you drag images into a PDF tool, check the sort setting and set it to Name so files appear in alphabetical and numerical order.
The jpg2pdf.tools JPG to PDF tool accepts .jpg, .jpeg, .jfif, and .png files and places one image per page in the order you add them. The order you see in the file browser is the order that will appear in the PDF.
Why Numbers Without Leading Zeros Cause Problems
Numbers without leading zeros sort as 1, 10, 11, 2 in some apps. The file browser treats the numbers as text rather than numeric values. Files named 1.jpg, 2.jpg, 10.jpg appear in the order 1, 10, 2 if sorted alphabetically. This is the single most common cause of images arriving out of order in a PDF.
Fix Sorting with Leading Zeros
Rename files with leading zeros so every number has the same number of digits. Name files 01, 02 through 10. Then 01.jpg, 02.jpg, 10.jpg sort correctly as 01, 02, 10.
Batch Renaming on Windows
Windows renames multiple files in sequence fast. Select all the files, press F2 and type a name to get name (1), name (2) and so on. The files are numbered in the order they appear in the folder at the moment you select them. Make sure the files are sorted by name before you start.
- Sort your images in the file browser by name so they appear in the desired order.
- Select all the images (Ctrl+A or click the first, hold Shift, click the last).
- Press F2, type a base name such as photo, and press Enter.
- The files become photo (1).jpg, photo (2).jpg, and so on.
This method adds parentheses and a space. The numbers are sequential. If you need leading zeros, use a dedicated batch rename tool. The Windows method works for most simple ordering needs.
Batch Renaming on Mac
On a Mac, select the files, Control-click one of them and choose Rename. You are prompted for a new name. The files are renamed with sequential numbers appended, like photo (1).jpg, photo (2).jpg.
- Sort your images by name in Finder so they are in the order you want.
- Select all the files (Cmd+A or click the first, hold Shift, click the last).
- Control-click any selected file and choose Rename.
- Type a base name like photo and press Enter. The files are renamed sequentially.
Numbering starts at 1 and increments by 1. For leading zeros, rename manually or use a third-party app. The default numbering is sufficient for most uses.
Adding Files in the Correct Sequence
After renaming, the most reliable way to lock in the order is to sort photos by name in your file browser. File names with leading zeros or sequential numbers sort numerically when sorted by name. Once sorted, you can add them to the JPG to PDF tool in that order.
- Open the folder containing your renamed images.
- Set the file browser view to sort by Name (ascending).
- Select all the files, or click and drag to select a range.
- Drag them into the upload area, or use the Add Files button and select them in order.
The tool places images in the order you add them. Add them in sorted order and the PDF matches that sequence.
What the JPG to PDF Tool Does with Your Images
The JPG to PDF tool accepts .jpg, .jpeg, .jfif, and .png files, places one image per page in the order you add them, embeds images at quality 90, and adds no watermark. There is no option to reorder images inside the tool. You must prepare the order before uploading. The resulting PDF has one image per page, in the exact sequence you selected.