How To Create Your Own Svg Files

Learn to create your own SVG designs! YouTube

SVG stands for Scalable Vector Graphics, which is a type of digital file format used for images. It’s used widely in web design and other media, as it allows for vector graphics to be scaled and manipulated with relative ease. SVG files have become increasingly popular in recent years, as they allow for greater control over graphic elements and the ability to easily integrate with other technologies.

Creating your own SVG file is relatively easy, and can be done without any special software or technical knowledge. All you need is a text editor, such as Notepad or TextEdit, and a basic understanding of HTML and CSS. Once you have the necessary tools, it’s just a matter of following a few simple steps.

Step 1: Create a New File

The first step is to create a new file, which you can do in any text editor. Make sure to save the file as an SVG file, as this will ensure it can be opened and manipulated correctly. You can name the file anything you like, but it’s best to make it something recognizable, such as “my-logo.svg”.

Step 2: Start with the SVG Tag

The next step is to start writing your SVG code. The first thing you need to do is add the SVG tag, which is the opening tag for all SVG documents. This tag should be the first line in the file, and should look something like this: .

Step 3: Add Basic Attributes

The next step is to add some basic attributes to the SVG tag. These attributes will define the size and viewbox of the SVG image. The size attribute should look something like this: width=”200″ height=”200″. The viewbox should look like this: viewBox=”0 0 200 200″.

Step 4: Add Elements

Now that you’ve set up the basic attributes of the SVG file, you can start adding elements. Elements can include text, shapes, lines, and other graphical elements. Each element should have its own opening and closing tags, and can include attributes such as color, size, and position. Some basic elements can look like this:

  • Hello World!

Step 5: Save your File

Once you’ve added all the elements you want in your SVG file, it’s time to save it. Make sure to save the file with the correct file extension, which is usually .svg, and make sure it’s saved in a place where you can easily access it.

Step 6: Test your File

Now that you’ve saved your SVG file, it’s time to test it out. You can open the file in a web browser, or you can use a program such as Inkscape or Adobe Illustrator to view your file and make sure everything looks as expected. If everything looks good, you’re ready to upload your file to the web and start using it!


Creating your own SVG files is an easy and rewarding process. With a few simple steps, you can create custom images that can be used on websites, in print, or anywhere else you need a vector graphic. With a little practice, you’ll be creating complex and interesting SVG files in no time!