Image Search With Operators: refern Guide (2026)
On this page
- Before you start
- Step 1: Understand the two search layers
- Step 2: Filter by file type
- Narrow video by length, frame rate, and codec
- Step 3: Search by tag
- Step 4: Filter by rating
- Step 5: Search by color
- Step 6: Find duplicate images
- Step 7: Search by relationship status
- Step 8: Scope search with in:
- Step 9: Control sort order with sort:
- Step 10: Filter by other metadata fields
- Composing multi-operator queries: real workflow examples
- How refern compares to other tools on search
- Common problems and fixes
- Next steps
- Frequently asked questions
refern ships 21 user-visible search operator keywords you type directly in the search bar. Combine type:image, tag:anatomy, rating:>=4, color:#1a1a2e, is:duplicate, derived:, linked:, and more in one query. Search runs against the local SQLite index without uploading your library to a refern cloud service.
If you have ever stared at a library of a few thousand images trying to remember what you tagged something, you know how quickly keyword-only search breaks down. This guide covers every operator refern supports, how to compose them, and copyable examples you can paste in right now.
Before you start
You need a refern workspace open with at least a few indexed images. If you are just getting started, see how to set up your first reference workspace or how to organize reference images.
The search bar sits at the top of every folder view. Press Ctrl+K (Windows/Linux) or Cmd+K (macOS) to open the full-screen search overlay, which searches your entire workspace. The inline bar scopes results to the current folder. Turn on the folder's Include in search option when you also want results from its descendants.
Search runs against the local SQLite index. This page does not publish a universal response-time benchmark.
Step 1: Understand the two search layers
refern search has two parts that work together.
Full-text search (FTS5 BM25). When you type plain words, refern searches across file name, folder path, description, notes, source URL, creator field, and content tags using SQLite FTS5 with BM25 relevance ranking. The tokenizer uses Unicode normalization with diacritic removal, so "Cafe" finds "Cafe" and "Cafe" finds "Cafe." Typo correction is not included, so spelling must be correct.
Inline operators. Operators are keywords typed directly in the search bar in the form operator:value. They produce precise SQL filters that combine with full-text terms. A query like landscape type:image rating:>=3 runs the FTS5 match on "landscape" and the SQL filters for image files rated 3 or above simultaneously.
You do not need to choose between the two layers. Every query can mix both.
Step 2: Filter by file type
The type: operator narrows results to a specific file kind.
| Operator | What it matches |
|---|---|
type:image | All image files (JPG, PNG, WebP, GIF, and more) |
type:video | Video files (MP4, MKV, MOV, WebM, and more) |
type:canvas | refern canvas files (.refern-canvas) |
type:file | Every generic file, meaning anything indexed that is not an image, video, or canvas (PDFs, PSDs, 3D files, fonts, archives, and so on) |
type:directory | Folders |
The aliases are forgiving: type:folder resolves to type:directory, and type:document, type:documents, and type:files all resolve to type:file.
type:image is the most useful starting filter in a mixed workspace. Use it whenever you want to exclude canvases, video, and generic files from results. If your workspace indexes documents or design source files, type:file is the quickest way to see just those.
Example. Find all canvas files that mention "character" in any metadata field:
character type:canvas
Narrow video by length, frame rate, and codec
Because refern indexes video as a first-class file type, three operators read the technical properties it pulls off each file.
| Operator | What it matches |
|---|---|
duration:>=5m | Videos at least five minutes long |
duration:<=30s | Videos no longer than thirty seconds |
duration:1m..10m | Videos between one and ten minutes |
fps:>=60 | Videos at 60 frames per second or higher |
fps:24 | Videos at roughly 24 fps (a bare value matches a narrow band, so it also catches 23.976) |
codec:h264 | Videos encoded with H.264 |
Duration accepts bare seconds (duration:90), unit suffixes (30s, 5m, 1.5h), and clock forms (duration:1:30 for a minute and a half, duration:1:02:03 for just over an hour). A bare duration value means "at least this long."
Codec values follow the usual short names: h264, hevc, vp9, av1, prores, mpeg4. Dots and capitals are normalized, so codec:H.264 and codec:h264 do the same thing.
For what you can do with a clip once you have found it, see organizing and studying video references.
Example. Find short, high-frame-rate clips worth studying in slow motion:
type:video duration:<=30s fps:>=60
Step 3: Search by tag
The tag: operator filters by a tag applied in your library.
tag:landscapematches images tagged with "landscape" exactly.tag:"character concept"wraps a multi-word tag in quotes for an exact match.tag:anatomy,gesturerequires both tags (comma-separated tags are ANDed).
Because refern uses hierarchical tags, searching a parent tag surfaces images tagged with any of its children. If you have a parent tag "figure" with children "anatomy," "gesture," and "proportion," then tag:figure returns all of them.
Composed example. Find portrait references rated 4 or above that have both "lighting reference" and "face" tags:
type:image rating:>=4 tag:"lighting reference",face
Step 4: Filter by rating
The rating: operator filters by star rating (1 to 5) and supports comparison operators.
| Example | Finds |
|---|---|
rating:5 | Exactly 5-star items |
rating:>=3 | 3, 4, or 5-star items |
rating:<=2 | 1 or 2-star items |
Composed example. Find your highest-rated color references before starting a new project:
type:image rating:>=4 tag:color
Step 5: Search by color
The color: operator is one of refern's distinctive features. Type any hex value and refern scores your library by visual color similarity, returning the closest matches ranked by a blend of dominant color, HSV histogram, color layout, and edge histogram.
Format. color:#rrggbb (standard CSS hex)
Only images that score at or above a quality threshold appear. Use sort:color to make the ranking explicit.
Examples.
color:#1a1a2e
Dark navy-toned references.
type:image color:#f5a623 sort:color rating:>=3
Well-rated images with warm amber tones, ranked by how close the color match is.
You can also open the color picker (the color chip icon in the search bar) to choose a color visually without typing a hex code.
Step 6: Find duplicate images
Type is:duplicate to surface images whose perceptual hash (pHash) is close to at least one other file in your library. pHash compares image content, not filenames, so files with different names but similar pixels appear together.
Useful combinations.
is:duplicate type:image
Limits the scan to images, excluding canvases and video.
is:duplicate in:references tag:anatomy
Finds duplicate anatomy references inside a specific folder.
After surfacing duplicates, select them in the grid and use the sidebar to decide which to keep, then soft-delete the rest.
Step 7: Search by relationship status
refern tracks typed relationships between images, canvases, and groups. Three operators expose those relationships in search.
linked:true and linked:false
linked:truereturns images that have at least one cross-reference link to another image.linked:falsereturns images with no cross-reference links.
linked-to:<entity-id>
Finds all images directly linked to a specific image by its ID. In practice, right-clicking an image and choosing "Find linked" pre-fills this for you.
derived:true and derived:false
When you use refern's crop tool and choose "Save as new," the cropped image is linked to its source via a "derived-from" entity link.
derived:truereturns images that carry a derivation link.derived:falsereturns original, non-derived images only.
Composed example. Original, highly-rated source images with no derivatives:
type:image derived:false rating:>=4
Step 8: Scope search with in:
By default, the search overlay searches your entire workspace. The in: operator scopes results to a specific folder by name.
in:Characters tag:anatomy
Finds anatomy-tagged images inside a folder named "Characters."
in:"Environment Art" type:image rating:>=3
Finds rated images inside "Environment Art."
The in: operator does a case-insensitive prefix match on folder name. in:char would match "Characters," "Character Concepts," and "Character Art" if they all start with "char."
Step 9: Control sort order with sort:
The sort: operator changes how results are ordered. Sort runs at the SQL level and does not slow down on large libraries.
| Operator | Result order |
|---|---|
sort:added | Most recently added first (default; add -asc for oldest first) |
sort:modified | Most recently changed first |
sort:rating | Highest rated first |
sort:name | Alphabetical by filename |
sort:color | Strongest color match first (use with color:) |
sort:relevance | Best text match first |
sort:duration | Longest video first (add -asc for shortest first) |
Name sorting is ASCII case-insensitive and numeric-aware. A sequence such as file1, file2, and file10 stays in the order a person expects instead of placing file10 before file2. The same natural ordering applies when refern sorts file extensions and names in library and picker lists.
Example. All lighting references, best-rated first:
tag:lighting sort:rating
Step 10: Filter by other metadata fields
Several operators cover the remaining metadata fields.
| Operator | What it does |
|---|---|
favourite:true | Images marked as a favourite |
is:pixelated | Files flagged as Pixelated, so they render with hard pixel edges instead of blurring when scaled up |
hasDescription:true | Images with a written description |
hasDescription:false | Images without a description (useful for bulk cleanup) |
hasNotes:true | Images with notes |
hasNotes:false | Images without notes |
source:<text> | Images whose source URL contains the text |
creator:<text> | Images whose creator field matches the text |
dateAdded:>=YYYY-MM-DD | Images added on or after a date |
dateModified:<=YYYY-MM-DD | Images modified on or before a date |
Example. Find untagged images added this year that still need annotation:
type:image dateAdded:>=2026-01-01 hasDescription:false
Composing multi-operator queries: real workflow examples
All operators combine freely with AND semantics. Comma-separated tag values use OR within the tag filter but AND with everything else outside it.
Best anatomy references for a figure-drawing session:
type:image tag:anatomy rating:>=4 sort:rating
Warm-toned mood references with descriptions:
type:image color:#e07a5f rating:>=3 hasDescription:true
Clean up duplicates in a specific folder:
in:Collected is:duplicate type:image
Review your highest-quality favourited images:
favourite:true rating:>=4 type:image sort:rating
Find original character references that still need tags and notes:
type:image tag:character derived:false hasNotes:false
All images from ArtStation rated 4 or above:
source:artstation rating:>=4 type:image
How refern compares to other tools on search
| Feature | refern | TagStudio | Pixcall | Milanote |
|---|---|---|---|---|
| Inline operator syntax | 21 user-visible operator keywords | AND/OR/NOT Boolean + glob | UI panel filters (no operator language) | Basic keyword only |
| Full-text search | SQLite FTS5 BM25 across all metadata fields | Keyword + smartcase | Keyword + fuzzy matching | Keyword across card text only |
| Color search by hex | Yes, local scoring model | None | 9-color palette filter (less granular) | None |
| Visual similarity search | Yes, local 512-byte descriptor | None | None | None |
| Duplicate detection | pHash via is:duplicate | None | Deduplication feature (separate tool) | None |
| Relationship-based operators | Yes (linked:, derived:) | None | None | None |
| Sort by match score | Yes (sort:color, sort:relevance) | Random sort only | Not documented | Not applicable |
| Search runs against a local index | Yes | Yes | Yes (local mode) | Very limited (cloud-first) |
TagStudio uses Boolean AND/OR/NOT with parenthesis grouping and glob path syntax for filename and path matching. That model is genuinely expressive for users comfortable with query languages. The trade-off is that TagStudio has no image-specific operators: no color search, no visual similarity, and no pHash duplicate detection. TagStudio is still in alpha, so performance on large libraries can be inconsistent.
Pixcall offers filtering by color palette (9-color index), file type, rating, and aspect ratio through UI panels as of 2026. Pixcall also has an AI smart-search feature, but it requires each file to be individually pre-analyzed before it becomes searchable. There is no inline operator language.
Milanote has basic keyword search across visible card text with no image-specific operators. Search is an acknowledged weak point: one user review described a recent update as limiting results to recently viewed content, making it harder to find older boards. Milanote is a board collaboration tool first, not a library manager.
Common problems and fixes
The operator returns no results even though the image exists.
Check spelling and formatting. Operators must be formatted without spaces around the colon: rating:>=3 not rating: >= 3. Tag names must match exactly. If the image was added very recently, wait a moment for indexing to complete or trigger a manual folder resync.
Color search returns images that look unrelated.
Color matching is perceptual rather than exact. A very common hex like #ffffff matches any light image, not just pure white. Try a more specific hue, or combine color: with tag: or rating: to narrow the result set.
is:duplicate is not catching a pair I know are duplicates.
pHash uses a similarity distance threshold. Very small thumbnails, heavily compressed images, or images with significant color-space differences may not cross it. For a broader match, use the visual similarity search instead: right-click any image and choose "Find similar."
tag: returns fewer results than expected.
Confirm the tag name matches exactly. Also check whether you mean a parent tag (which covers children) or a specific child tag. If you recently applied a tag in the sidebar, confirm the save bar was submitted.
Next steps
- How to tag reference images covers the hierarchical tag system that makes
tag:searches powerful. - How to find similar images in your local library covers visual similarity and
is:duplicateworkflows in detail. - How to search images by color explains the color scoring model and how to use the color picker.
- How to visualize reference relationships as a graph shows the
derived:andlinked:operators from the relationship graph side. - What is a reference manager? explains the tool category if you are still evaluating options.
Frequently asked questions
What search operators does refern support?
Can I search for images by color in refern?
How does refern's search compare to TagStudio's Boolean search?
Can I sort search results in refern?
- $35 one-time, no subscription
- Windows, macOS, Linux
- Local-first and private
- 10,000+ creatives
- Community on Discord
“Organization and search like Eagle cool, canvas from PureRef.”
Try it yourself
One library for your references, with a canvas built in.
refern keeps your images organized and searchable, with an infinite canvas in the same app. Normal workspaces read existing files in place. $35 one-time, updates included.
No account required for the 30-day trial. Your normal files remain accessible on disk if the trial ends.
Sources
Keep reading
Best Eagle Alternatives for Artists in 2026
Eagle alternatives for artists in 2026: refern, Billfish, Allusion, TagStudio, Adobe Bridge, digiKam, and PureRef compared on price, features, and platform.
Find Similar Images in Your Local Library (2026)
Find similar images in your local library without the cloud. Learn how refern's visual similarity search works offline, and when to use it versus color or tag search.
How to Make a Moodboard From Your Own Photo Library (2026)
How to make a moodboard from your photo library using files already on disk. No re-uploading, no subscriptions. Build an offline canvas in refern in minutes.
Search Images by Color in Your Desktop Library (2026)
Search images by color in your local library with hex precision. This guide shows how local color search works in refern and how it compares to Eagle, Pixcall, and Cosmos.