What a vector file is and why you need one
A vector file is a graphic made from lines and shapes instead of pixels. When you zoom in on a vector, it stays sharp. When you zoom in on a photograph or a file from Photoshop, it gets blurry. Vector files are what you use for logos, icons, text effects, and anything else that needs to look clean at any size — on a business card or a billboard.
Adobe Illustrator is the standard tool for making vector files. The file format you create in Illustrator is called AI (the native format), but you can also save it as EPS, PDF, or SVG depending on what you need to do with it next. This guide walks you through starting a new document, drawing or importing artwork, and saving it in a format that will work where you need it.
Key Takeaways
- Open Illustrator, go to File > New, and choose a preset that matches your intended use — print, web, or mobile — or set custom dimensions yourself.
- Draw shapes using the rectangle, circle, and pen tools, or place an existing image and trace over it with the pen tool to convert it to vector paths.
- Use the color panel to add fills and strokes, and the stroke panel to control line weight and style.
- Save your work as an AI file to keep all layers and editing capability, then export as EPS, PDF, or SVG when you need to hand it off or print it.
Starting a new document with the right settings
Open Adobe Illustrator. At the start screen, click File in the top menu, then select New. A dialog box opens with preset templates. If you are making a logo or graphic for print, choose Print. If it is for a website or social media, choose Web. If it is for a phone app, choose Mobile. Each preset sets the color mode and dimensions to standard sizes.
If none of the presets match what you need, click Create Custom at the bottom. Set the width and height in inches, millimeters, or pixels — whichever unit makes sense for your project. Set the color mode to CMYK if you are printing, or RGB if it is going on screen. Leave the raster effects resolution at 300 ppi. Click Create and you have a blank canvas.
Drawing basic shapes and lines
The toolbox sits on the left side of the screen. The rectangle tool, circle tool (called the ellipse tool), and polygon tool are all grouped together. Click and hold on the rectangle icon to see the other shape tools. Click the one you want, then click and drag on the canvas to draw. Hold Shift while you drag to make a perfect square or circle instead of a stretched shape.
For more complex shapes, use the pen tool (it looks like a fountain pen). Click once on the canvas to place a point, then click again somewhere else to draw a straight line between them. Keep clicking to add more points and build a shape. To close the shape, click back on your first point. To draw curves, click and drag instead of just clicking — the drag creates handles that bend the line.
If you make a mistake, press Escape to cancel the current shape, or use Edit > Undo to step back. The pen tool takes practice, but it is the most powerful way to create custom vector shapes.
Placing and tracing an existing image
If you already have a sketch, photo, or logo you want to turn into a vector, you can place it in Illustrator and trace over it. Go to File > Place, then select the image file from your computer. Click on the canvas to insert it. The image appears as a locked layer that you can see but not edit.
Create a new layer above it by going to Window > Layers, then clicking the plus icon at the bottom of the layers panel. Use the pen tool to trace the outlines of the image on this new layer. You are drawing vector paths on top of the placed image, not editing the image itself. Once you have traced the main shapes, you can delete or hide the original image layer.
Alternatively, Illustrator has an Image Trace feature that converts a placed image to vector paths automatically. Select the placed image, then go to Object > Image Trace > Make. Illustrator scans the image and converts it to paths. The result is not always perfect — you may need to clean it up by hand — but it is much faster than tracing by hand for complex images.
Adding color, strokes, and effects
Once you have drawn a shape or path, you can color it. The color panel sits on the right side of the screen. Click the fill square (the solid square in front) to change the inside color, or click the stroke square (the hollow square behind) to change the outline color. Click a color in the palette, or type a hex code if you know the exact color you want.
To control the thickness and style of the stroke, go to Window > Stroke. The stroke panel opens on the right. Increase the weight number to make the line thicker. Use the cap and join dropdowns to change how the ends of lines look and how corners connect. You can also add dashes or dots by clicking the dashed line option and setting the dash and gap sizes.
For effects like shadows, glows, or blurs, select your shape and go to Effect in the top menu. Choose a category like Stylize or Blur, then pick the effect you want. A dialog opens where you can adjust the settings. Click OK to apply it. Effects are non-destructive, meaning you can change or remove them later without losing the original shape.
Organizing your work with layers
As your vector file grows, keeping track of all the shapes and paths becomes harder. Layers help you organize. Open the layers panel by going to Window > Layers. Each shape you draw appears as a separate item in the layers panel. You can rename layers by double-clicking the name, lock layers by clicking the lock icon so you do not accidentally move them, and hide layers by clicking the eye icon.
Create new layers by clicking the plus icon at the bottom of the layers panel. This is useful when you want to keep different parts of your design separate — for example, one layer for the background, one for the main graphic, and one for text. You can also select multiple layers at once by holding Ctrl (or Cmd on Mac) and clicking them, then move or color them all together.
Saving and exporting your vector file
Save your work as an AI file to keep all layers and editing capability. Go to File > Save As, choose a name and location, and make sure the format dropdown says Adobe Illustrator (*.ai). Click Save. This is your working file — keep it safe in case you need to edit the design later.
When you need to hand off the file or print it, export it in a different format. Go to File > Export As. The format you choose depends on what comes next. Use PDF if someone needs to view or print it without editing. Use EPS if it is going into a page layout program like InDesign. Use SVG if it is going on a website. Use PNG if you need a raster version with a transparent background. Choose the format, set the filename, and click Export. A dialog appears with format-specific options — the defaults usually work fine, so you can just click Export again.
Frequently Asked Questions
Can I convert a photograph to a vector in Illustrator?
Yes, using the Image Trace feature. Place the photo, select it, then go to Object > Image Trace > Make. Illustrator converts the pixels to vector paths. The result works best for images with clear shapes and solid colors. Photos with lots of detail and gradients often look rough when traced.
What is the difference between AI and PDF format?
AI is Illustrator's native format and preserves all layers and editing tools. PDF is a read-only format that anyone can open and view, but you cannot edit the paths or layers inside Illustrator. Save as AI while you work, then export as PDF when you are done and need to share the final version.
Why does my vector look blurry when I zoom in?
You may have accidentally placed a raster image instead of drawing vector paths. Check the layers panel — if the layer has a small image icon next to it, it is raster. Delete it and redraw the shape using the pen tool or shape tools, or use Image Trace to convert it to vectors.
Can I use fonts in a vector file?
Yes, but you should convert text to outlines before saving if someone else will open the file. Select the text, then go to Type > Create Outlines. This turns the letters into vector shapes so they look the same on any computer, even if that computer does not have the font installed.
What resolution should I use for a vector file?
Vector files do not have a resolution — they scale infinitely without losing quality. However, if you add raster effects like drop shadows, set the raster effects resolution to 300 ppi for print or 72 ppi for screen. You can change this in File > Document Setup.