Adobe Illustrator is the industry standard application for graphic design. It's the best tool for working with vector-based files.

Sadly not everyone has Illustrator, but lots of people do have Photoshop. And Photoshop has basic support for vector images. In this guide, we'll take a look at how to make vector art in Photoshop as an Illustrator replacement.

What Is a Vector Image?

Photoshop is primarily designed for raster images. These are polygonal images drawn pixel by pixel. They support huge amounts of detail, and are used for photos. The file sizes can be big, though, and you can't enlarge them without a loss of quality.

Vector images are lines and curves generated by mathematical formulas. This means you can resize them infinitely, and the file sizes are often very small. Vectors are great for graphic design work, including designing logos and icons. You can even convert images to vector graphics in Adobe Illustrator.

A piece of vector art consists of multiple objects. Each object is a line or shape whose edge is defined by a path. In Photoshop, the path is shown as a thin blue line (although it's technically invisible).

creating vector graphics photoshop tutorial

You can apply two types of color to each object:

  • A Stroke is a line that follows the path.
  • A Fill adds a solid color or pattern to the space surrounded by the path.

You set both in the options bar at the top of the screen. You can also set either to No Color if you want them to remain blank. For the stroke, you can also set the thickness in pixels and the style. A solid line is the default.

In Photoshop, you draw vector images with shapes, lines, and text.

Draw Vector Shapes and Lines

Photoshop comes with tools for drawing several common shapes. By default, the Rectangle Tool is highlighted. Click and hold on that icon to reveal the full set of tools:

  • Rectangle Tool
  • Rounded Rectangle Tool
  • Ellipse Tool
  • Polygon Tool
  • Line Tool
  • Custom Shape Tool

You can always select the highlighted tool by pressing U on your keyboard. Alternatively, press Shift + U to cycle through the tools until you find the one you want.

To work more quickly, it's a good idea to learn more Photoshop keyboard shortcuts.

Draw Basic Vector Shapes

Select the tool for the shape you want to draw, then add your Fill and Stroke colors.

Now click and drag in your canvas. The shape is drawn from the corner in whichever direction you're dragging. To create a symmetrical shape, such as a circle or square, hold down the Shift key.

draw a vector triangle in photoshop

To draw a triangle, select the Polygon Tool. Click once on your canvas to open the Create Polygon settings box. Set Number of Sides to 3.

Modify and Edit Vector Shapes

You aren't restricted to basic shapes when creating vector graphics in Photoshop. They can be modified very quickly.

First, select the shape. This will highlight the shape, and show anchor points along its path. These are points where the shape has corners or curves.

Choose the Direct Selection Tool from the toolbar (click and hold on the Path Selection Tool icon to find it, or press Shift + A). Now click one of the anchor points and drag it in any direction to deform the shape.

modify vector shapes in photoshop

For more advanced edits, move two or more anchor points at the same time.

Click one to highlight it, then Shift + click another. Now use the cursor keys on your keyboard to move both points simultaneously.

modify shapes in photoshop

Merge and Combine Vector Shapes

For even more complex shapes, you can use Path Operations. This allows you to combine multiple shapes into single new ones.

Start by drawing a shape on your canvas. Next, click the Path Operations button in the options bar at the top of the screen. Normally, every new path or shape goes onto its own layer. Change that by clicking Combine Shapes.

Now draw another shape. This will go on the same layer as your first shape.

draw two shapes on the same layer in photoshop

When you need to move the objects individually, use the Path Selection Tool.

Drag the second shape so that it overlaps the first. The two merge together into a single shape, although they remain as separate objects. Click Merge Shape Components in Path Operations to combine them into a single object.

merge shapes photoshop

Use the Path Selection Tool to select the second shape you drew. Now, in Path Operations choose Subtract Front Shape. The shape gets deleted, along with the area where it overlaps with the first shape.

subtract shape in photoshop

Highlight both shapes. In Path Operations select Intersect Shape Areas. This removes both shapes, apart from the areas where they overlap. We're using this option to create a semi-circle.

intersect shapes in photoshop

Finally, highlight both shapes and select Exclude Overlapping Shapes. This removes the area where the two shapes overlap, and leaves everything else intact.

exclude overlapping shapes in photoshop

These tools are an effective way to build new shapes, or to split or cut pieces out of existing ones. They work with the Pen Tool and Text as well.

Draw Vector Lines

There are two other shape-related tools to know about. First is the Line Tool.

Select the tool, and set the Height in the options bar. This sets the thickness of the line. Then click and drag in your document to draw it. Hold down the Shift key to snap the line to zero or 90 degrees.

draw straight line in photoshop

This tool does have a few hidden features, but for the most part, you'll be using it to draw a straight line.

Draw Custom Vector Shapes

Finally, the Custom Shape Tool. Set the fill and stroke colors, then click the Shape option in the options bar. Here, you can choose one of countless preset custom shapes that Photoshop provides.

custom shapes in photoshop

To add more shapes beyond the initial selection, click the Settings cog, and choose a category to add. There are shapes for all uses—icons, speech bubbles, arrows, textures, and more. You can also load third-party shapes.

draw vector shapes

Click and drag to add the shape to your image. You can also click on the canvas to specify an exact width and height.

Drawing Vectors With the Pen Tool

If you've got any experience with Illustrator, you'll know that you use the Paintbrush Tool for freehand drawing. Photoshop has a Brush Tool that does a similar job. But in Photoshop the tool is not vector-based, so you shouldn't use it for drawing. You should use the Pen Tool instead.

The Pen Tool is one of the most powerful features in Photoshop. You'll use it a lot while photo editing in Photoshop, since it enables you to create very precise selections. It's also great for drawing and vector art.

Get Started With the Pen Tool

The Pen Tool works by drawing a path between anchor points you create when you click on the canvas. Add a stroke to the path and you can draw an outline; add a fill and you can draw a solid object.

photoshop pen tool

Here's a quick primer to get you started:

  1. Select the Pen Tool (P). Click on the image canvas to drop an anchor point.
  2. Move the cursor a few inches and click again to drop another anchor point. A path will be created to connect the two. Set the stroke to 5px, black, to help you see it better.
  3. Click a few more times to develop the path. Click and drag to create a curved path. This will also add handlebars to the anchor point. Drag these to control the angle and depth of the curve.
  4. Click Enter to create an open path (a line), or click the first anchor point to create a closed path (a shape).
edit path in photoshop

What makes the Pen Tool so useful is that you can go back and edit your shape at any time:

  • Get the Direct Selection Tool (A). Select an anchor point on the path and drag it to a new position. Use this tool with an anchor point's handlebars to edit a curve, too.
  • Select the Add Anchor Point Tool by clicking and holding on the Pen Tool. Click somewhere on the path to manually add a new anchor point, then drag it into place. This enables you to fine-tune your shape.

Three Pen Tools

Photoshop offers three different pens for drawing:

three different pen tool options
  • The Pen Tool is the default, and most flexible option. For beginners, we'd recommend using this primarily for drawing straight lines. As you get more advanced, you may find yourself using it for everything.
  • The Freeform Pen Tool lets you draw freehand, similar to the Brush Tool. It still creates a path that you can tweak and edit later. The anchor points are generated automatically as you draw. This is a great tool if you use a graphics tablet.
  • The Curvature Pen Tool makes it easy to draw curves without needing to play with the handlebars as you do with the main Pen Tool.

Trace an Image as a Vector in Photoshop

Once you've learned how to use the different pen tools, you can use them to trace images. This is how you turn a sketch you've scanned, or an object in a photo, into a vector image.

Open the image in Photoshop and zoom in. Now select the Pen Tool and place your first anchor point on the border of the object you want to trace. Your new drawing will automatically go onto its own layer. Continue clicking around the edges to create your path.

trace image in photoshop

If the object you're tracing is against a plain background, try the Freeform Pen Tool with the Magnetic option activated in the options bar. This snaps your path to the edge of the object.

Work With Vector Text in Photoshop

Using text in Photoshop is fairly self-explanatory. Select the Horizontal Text Tool (T), click on the image canvas to create a text box, then type. You can adjust the font, size, weight, and everything else, just as you would in any other app.

For normal text, set a fill color but no stroke. Only apply a stroke for heavily stylized text.

When you're done, you can convert the text into a vector object. Select the text and go to Type > Convert to Shape. This enables you to access the anchor points on each character, so you can tweak them individually. It's good for changing the color of a single letter or tweaking the look of the font.

convert text to shape

Once converted, the text is no longer editable. It's a good idea to duplicate, and then hide the original text layer, just in case you need a backup.

Managing Vector Objects

In order to create your artwork, you need all these objects to be in the right position and at the right size. Here's how to do that:

  • Move objects by selecting them with the Path Selection Tool (A) and dragging them into place.
  • Resize objects by selecting them with the Path Selection Tool then hitting Ctrl + T on Windows or Cmd + T on Mac. This shows a box around the object. Grab a handlebar along the edge and drag in or out to resize. Hold the Shift key to maintain the original aspect ratio.
  • Rotate an object by holding your mouse just outside one of the handlebars until the cursor turns into a rotate icon. Now click and drag.
  • Reorder objects by clicking a layer and dragging it above or below another layer.
  • Align objects by selecting them all with the Move Tool (V) (or holding Shift and clicking multiple layers), then using the align controls in the options bar.

Vector Graphics in Photoshop: Put It All Together

Now that you know how to use all the tools, you can put them together to create your own pieces of vector art:

working with vectors in photoshop

While Photoshop isn't a genuine alternative to Illustrator for professional graphic design, it is surprisingly powerful. For simple things like logos, icons, and small images you want to use in other documents, it's more than good enough.