Darktable is a free, open-source RAW developer and photo manager for Windows, macOS and Linux. It does what Lightroom does, with a different layout and a different way of thinking about tone. This page follows the order you work in: import, cull, develop, mask, copy settings across a shoot, and export.
What Darktable Is and Is Not
- It is non-destructive. Your RAW files are never changed. Every edit is a step stored in a history stack, in darktable’s database and, by default, in a small XMP sidecar file next to the image.
- It is a library and a developer. The lighttable view organises. The darkroom view edits. Other views (map, slideshow, print, tethering) exist but you will rarely open them.
- It is not a layer editor. It has no layers in the Photoshop sense. For compositing and heavy retouching, finish in GIMP or another pixel editor.
If you are coming from Lightroom, Lightroom for beginners maps the ideas, and photo editing workflow shows the order of work that applies to any RAW editor.
Step 1: Import and Organise
- Add to library reads files where they already are. Copy and import copies them from a card into a folder structure you choose, with a naming pattern, and then imports them. Use copy and import for a new shoot. Use add to library for an archive you already organised.
- Folders are yours. Darktable does not reorganise what you have. Pick one folder scheme (for example date then shoot name) and keep it. See photo backup, because the library database and sidecars are only as safe as your backups.
- Move files inside darktable. Rename or move a folder in your file manager, and darktable loses the files. Move them from within the lighttable, or you will have to re-import.
- Turn on sidecar writing in the storage preferences, and leave it on. XMP files travel with the images, so you can rebuild the library if the database is damaged.
Step 2: Cull in the Lighttable
Do the selection before any editing. Rate quickly, then develop only what survives.
- Stars: press 1 to 5 to rate, 0 to clear, R to reject.
- Colour labels: F1 to F5 apply red, yellow, green, blue and purple. A simple scheme is red for retouch, green for ready, yellow for maybe.
- Full preview: hold the preview key (W by default) to check sharpness at full size before you decide. A frame that looks fine as a thumbnail can have missed focus.
- Collections: filter by rating, label, date, lens, tag or folder, and combine rules. Show 4 stars and up from one folder in two clicks.
- Tags and metadata: add keywords and copyright text to selected images in bulk. See keywording and metadata.
The thinking behind fast selection is in photo culling workflow.
Step 3: Set Up the Darkroom Once
Darktable has dozens of modules. Do not try to learn them all. Set the defaults once and use a short list.
- In the processing preferences, set the automatic pixel workflow to scene-referred. This applies exposure and a tone mapper to each new RAW file.
- Use a grey interface theme so the colour around the photo does not skew your eye.
- Switch on colour assessment mode (Ctrl+B) when judging colour and tone. It surrounds the image with a neutral frame.
- Use the module group presets or the module search box rather than scrolling. Type the name of a module and it appears.
Step 4: The Short List of Modules
Work in this order. It follows darktable’s own recommended scene-referred workflow.
- Lens correction. Turn it on first. It corrects distortion, vignetting and fringing for supported lenses. Doing it early matters, because vignetting correction changes brightness. See lens corrections.
- Exposure. Move the exposure slider until the middle of the image looks right. Check the histogram. In scene-referred editing, the exposure module sets how bright the mid-tones are. It does not clip to white, which is why you can push it further than in older tools.
- Tone mapper: filmic rgb or sigmoid. These compress the sensor’s wide range into what a screen can show. In filmic, set the white and black relative exposure first (the scene tab), then adjust contrast on the look tab. Sigmoid is a simpler alternative with fewer sliders. Pick one and stay with it for a set. This is how you handle dynamic range without clipping.
- Colour calibration. Handles white balance in the scene-referred workflow. The default is usually right. Use it when a colour cast remains. See white balance and colour cast.
- Colour balance rgb. Adds saturation and vibrance and lets you grade shadows, mid-tones and highlights separately. A good first move is the basic colourfulness preset. For the idea, see colour grading.
- Tone equalizer. Lets you lift or lower brightness by tonal range. It is the darktable way to do dodging and burning. Lift shadows without flattening the picture.
- Detail. Denoise (profiled) for noise, and diffuse or sharpen or contrast equalizer for sharpening and local contrast. Look at 100 percent. See noise reduction and sharpening.
- Retouch and crop. Remove dust spots with the retouch module, then straighten and crop. See how to crop photos.
You will meet two names that sound alike. Colour zones adjusts specific colours, for example making only the blues richer. Colour balance rgb shifts broader tonal ranges. Use colour zones for one stubborn colour, and colour balance rgb for the overall look.
Step 5: Mask Where Needed
Nearly every module can be limited to part of the image. Open the mask options at the bottom of the module.
- Drawn masks. Draw a gradient, ellipse, path or brush stroke. A gradient on a second instance of exposure darkens a sky. Set the feathering wide so the edge is invisible.
- Parametric masks. Limit the effect by brightness, colour or hue. A mask that only reaches the brightest tones is a clean way to tame a sky or a window without drawing anything.
- Combined masks. Draw a rough shape, then add a parametric condition so the effect only touches pixels in a certain range inside that shape.
- Multiple instances. Make a second copy of a module to give it a different mask and different settings. This is how you brighten a face and darken a sky with the same module.
Use the mask display toggle to see the mask in colour and check its edges.
Step 6: Reuse Edits Across a Shoot
This is where a RAW developer saves hours. Edit one frame well, then apply those settings to the rest of the set.
- In the lighttable, use selective copy to choose which modules to copy (leave out crop and spot removal, which are specific to one frame), then paste to the rest.
- Save a style for a look you will use again.
- Then go through the set and fix exposure frame by frame, which is usually the only setting that needs changing.
The habit is explained in editing a set consistently.
Step 7: Export
- Format. JPEG for sharing, TIFF for print or further work. JPEG quality of 90 to 95 is plenty.
- Profile. sRGB for the web. For print, follow the lab. See colour space and colour management.
- Size. Set the long edge in pixels for the destination, and turn on high quality resampling.
- Sharpen for output with a small amount if you resize down.
- File names. Use a pattern with variables for date and original name so exports do not overwrite each other.
See exporting photos for settings by use.
Common Mistakes
- Using too many modules. Exposure, a tone mapper, colour balance rgb and a mask or two do most of the work. Add others for a reason.
- Stacking two tone mappers. Filmic and sigmoid do the same job. Use one.
- Judging at fit-to-screen. Zoom to 100 percent before deciding on noise and sharpening.
- Moving files outside darktable. The library loses track of them.
- Turning off sidecars. The database is a single point of failure. Keep XMP files and back up both.
- Copying everything. Pasting a crop onto another frame ruins its composition. Copy selectively.
Try This
- Import one folder with copy and import. Rate with the number keys until only the best frames have four stars.
- Open one in the darkroom and turn on lens correction.
- Set exposure so the mid-tones look right, then set filmic white and black relative exposure so the histogram fits.
- Add colour balance rgb with the basic colourfulness preset.
- Make a second exposure instance with a wide gradient mask to darken the sky by half a stop to one stop.
- Export as a JPEG, sRGB, 2000 pixels on the long edge, and compare it with the camera’s own JPEG.
Frequently Asked Questions
Does darktable support my camera?
It supports a large number of cameras, and new ones are added over time. If yours is not recognised, converting to DNG can help. Check darktable’s supported camera list.
Can I import my Lightroom edits?
No. You can import the same image files, but edit settings do not transfer. Ratings and keywords may come across through metadata, depending on how they were saved.
Why does my photo look different from Lightroom’s?
Each RAW converter has its own default rendering. None is the correct one. Adjust until it matches what you want. RAW vs JPEG explains why a RAW file has no single look.
Where are my edits stored?
In darktable’s database, and in XMP sidecar files if sidecar writing is on. Keep it on and back up both.
Want a layer editor to finish the picture in? GIMP for photographers picks up where darktable stops.
Unsure how darktable compares with other RAW tools? Best photo editing software lays out the options.
Prefer a paid editor with layers and masks? The Affinity guide covers one.