By Matteo Martignago, cinematographer and photographer. Last updated July 2026.
To rasterize a layer in Photoshop, right-click it in the Layers panel and choose Rasterize Layer (for type, choose Rasterize Type), or use the menu at Layer > Rasterize. This converts the layer’s editable vector or text data into fixed pixels so you can paint, erase, and run filters on it.
I have rasterized countless type and shape layers preparing images and graphics over the years, and the rule is simple: rasterize only when a tool forces you to, and protect yourself first. This guide covers the exact menu paths for every layer type, the “must be rasterized” prompt, why the option sometimes greys out, how to undo it, and when you should reach for a Smart Object instead.
What Does Rasterize Mean in Photoshop?
Rasterizing converts a vector or text layer into a normal pixel-based layer. A vector shape or a type layer is defined by math, so it stays sharp at any size and remains fully editable. Rasterizing turns that math into a fixed grid of pixels, the same as a photo. You gain pixel tools and lose the ability to edit the text or scale the shape without quality loss.
When You Should (and Should Not) Rasterize
Rasterizing is permanent, so the best habit is to avoid it until a tool genuinely requires pixels. Before you commit, ask whether converting the layer to a Smart Object (right-click the layer and choose Convert to Smart Object) would let you work non-destructively instead. When you do need pixels, these are the real reasons:
- You want to use a pixel-painting tool on the layer: Brush, Eraser, Paint Bucket, Clone Stamp, Smudge, or Dodge and Burn. These cannot touch a live vector, type, or Smart Object layer.
- You want to run a standard filter on a plain (non-Smart) vector or text layer. The non-destructive alternative is to convert the layer to a Smart Object first and apply the filter as a Smart Filter.
- You want to merge a vector or text layer into a pixel layer, or paint across several layers as one.
One common myth worth clearing up: you do not need to rasterize to add a layer style. Drop shadows, strokes, bevels, and glows all apply to live type, shape, and Smart Object layers through the fx icon, and your text stays editable.
How to Rasterize a Layer in Photoshop
Every layer type has two access points: a right-click in the Layers panel, and the Layer > Rasterize menu. The full submenu in current Photoshop (2024 to 2026) reads: Type, Shape, Fill Content, Vector Mask, Smart Object, Video, Layer, and All Layers.
Rasterize a shape or vector layer
- In the Layers panel, select the shape or vector layer.
- Right-click the layer’s name or thumbnail and choose Rasterize Layer (it reads Rasterize Layers if you have two or more selected).
- Menu equivalent: Layer > Rasterize > Shape (or Layer > Rasterize > Layer). The shape becomes a normal pixel layer.
Rasterize a text (type) layer
- Finalize your wording and font first, because you cannot edit the text after this.
- Right-click the type layer in the Layers panel and choose Rasterize Type. That is the whole job: one step.
- Menu equivalent: Layer > Rasterize > Type.
Skip the old “Convert to Shape first” advice you may have seen. Convert to Shape does the opposite of what you want here: it turns your text into a vector shape, which is still not pixels. Only use Convert to Shape when you want to keep the text scalable as vector artwork.
Rasterize a Smart Object
- Select the Smart Object in the Layers panel.
- Right-click and choose Rasterize Layer, or use Layer > Rasterize > Smart Object (Layer > Smart Objects > Rasterize does the same thing).
- This flattens the embedded source and bakes in any Smart Filters and transforms, so do it last.
Rasterize every layer at once
To flatten all vector and generated data in one action, use Layer > Rasterize > All Layers. Layer > Rasterize > Layer handles only the selected layers. There is no right-click command for “all layers”; it lives on the Layer menu.
The “This Layer Must Be Rasterized” Prompt
Most people first run into rasterizing through a warning box. The moment you grab the Brush, Eraser, or Paint Bucket on a vector, type, or Smart Object layer, or try to run a filter on a plain vector or type layer, Photoshop stops you with a message like “This type layer must be rasterized before proceeding. Rasterize the type?” A filter applied to a Smart Object becomes a Smart Filter instead, with no prompt.
- Rasterize converts the layer to pixels on the spot so your tool works, but the change is permanent.
- Cancel backs out. If you are not sure, cancel, then duplicate the layer or convert it to a Smart Object before you continue, so you keep an editable version.
Why Is Rasterize Greyed Out?
If Rasterize Layer is dimmed or missing, the layer usually cannot be rasterized because there is nothing to convert or the selection is wrong. Check these first:
- The layer is already a pixel layer, so there is nothing to rasterize.
- No layer is selected, or you clicked in empty space in the Layers panel.
- The layer is locked, or it is the Background layer. Unlock it first (double-click it to turn it into a normal layer).
- A specific submenu item like Layer > Rasterize > Type is dimmed because the selected layer is not that type. The right-click Rasterize Layer command still works, and a mixed selection rasterizes together as Rasterize Layers.
- You right-clicked the canvas instead of the layer. Right-click the layer’s name or thumbnail in the Layers panel.
How to Undo Rasterizing
You can undo a rasterize, but only within the same working session. Press Ctrl+Z (Cmd+Z on a Mac) right away, or step back through the History panel. The catch is that History clears when you close the file, so once you save and close, the rasterize is permanent and the text or vector data is gone for good.
Because there is no true “un-rasterize,” protect yourself before you convert. Duplicate the layer and hide the copy, or convert to a Smart Object instead of rasterizing, so the editable original is always one click away.
Rasterize vs Flatten vs Merge vs Smart Object
These four commands all sound similar, and people mix them up constantly. Here is what each one actually does:
| Command | What it does | Layers after | Reversible in session |
|---|---|---|---|
| Rasterize | Turns one vector or type layer into pixels | Stays a separate layer | Yes (History only) |
| Merge Layers | Combines selected layers into one pixel layer | Fewer layers | Yes (History only) |
| Flatten Image | Merges everything into a single background layer | One layer | Yes (History only) |
| Convert to Smart Object | Wraps the layer so edits stay non-destructive | Stays editable | Yes, edit anytime |
And here is how a vector layer compares to the same layer after rasterizing:
| Attribute | Vector or type layer | Rasterized layer |
|---|---|---|
| Editing | Text and shapes stay editable | Fixed pixels only |
| Scaling | Any size, no quality loss | Pixelates when enlarged |
| Pixel tools (brush, eraser) | Not allowed | Allowed |
| File size | Usually smaller | Usually larger |
Photoshop has no default keyboard shortcut for Rasterize, but you can make one. Go to Edit > Keyboard Shortcuts, find Layer > Rasterize > Layer, and assign a key combination. Alternatively, record the command as an Action and bind that Action to a function key.
Pros and Cons of Rasterizing
Pros
- Lets you use pixel-painting tools like the Brush, Eraser, Paint Bucket, and Clone Stamp.
- Lets a plain vector or text layer accept standard filters directly.
- Gives you full pixel-level control for detailed retouching.
Cons
- Text and vectors are no longer editable.
- The layer pixelates if you scale it up later.
- It usually increases file size, though rasterizing a Smart Object can actually shrink the file by discarding its embedded source.
- A Smart Object’s Smart Filters and transforms get baked in permanently (plain layer styles stay live until you merge or flatten).
To rasterize without losing quality, set your document to its final size and resolution first, then rasterize at that size. Never enlarge a rasterized layer afterward.
Frequently Asked Questions
What is rasterization in Photoshop?
Rasterization converts a vector or text layer into a pixel-based layer. Photoshop replaces the layer’s math-based data with a fixed grid of pixels, which lets you use pixel tools and filters but ends the layer’s editability and lossless scaling.
How do I rasterize a layer in Photoshop?
Right-click the layer in the Layers panel and choose Rasterize Layer, or Rasterize Type for a text layer. You can also use the menu at Layer > Rasterize and pick the layer type you want to convert.
Do I need to rasterize a text layer to add a drop shadow?
No. Layer styles such as drop shadows, strokes, and bevels apply to live type layers through the fx icon, and the text stays fully editable. You only need to rasterize when you want to paint on the text with a pixel tool or run a standard filter on it.
Why is Rasterize greyed out in Photoshop?
Usually because the layer is already pixels, no layer is selected, or the layer is locked or is the Background layer. Unlock the layer, select it directly in the Layers panel, and make sure you are right-clicking the layer rather than the canvas.
Can you undo rasterizing in Photoshop?
Only during the same session, with Ctrl+Z or the History panel. Once you save and close the file, the rasterize is permanent. To stay safe, duplicate the layer or convert it to a Smart Object before rasterizing.
Does rasterizing reduce image quality?
Not by itself. The pixels are created at the layer’s current size, so nothing degrades until you scale the rasterized layer up, at which point it softens and pixelates. Rasterize at your final document size to avoid that.
What is the difference between rasterize and flatten?
Rasterize converts a single vector or type layer to pixels while keeping it separate. Flatten Image merges every layer in the document into one background layer. Rasterize affects one layer; flatten collapses the whole file.
Can I convert a raster image back to a vector in Photoshop?
Not directly. Photoshop can only build rough paths from a selection and has no true auto-trace, so genuine raster-to-vector conversion is better handled in a vector program like Adobe Illustrator. This is why keeping an editable copy before rasterizing matters.
The One Habit That Saves You
Rasterizing itself is one right-click. The skill is knowing when not to. Before you convert a layer, ask whether a Smart Object would keep your work non-destructive and get you to the same result. When a tool truly demands pixels, duplicate the layer first, rasterize the copy, and keep the editable original in your back pocket. That single habit will save you from redoing type and shapes more times than any shortcut ever will.
Next, put those pixels to work: see our guide to colorizing black and white photos for a hands-on Photoshop workflow.

