what are file formats?
File formats are the way information (data) is written on your computer.
We already know that all our documents, photos, videos etc are just files to a computer. A computer doesn't "see" that picture of your first child, it only "sees" an image file.
Now in order for the machine to store these files, they have to be written onto the computer.
You can think of file formats as being like human language. If I spoke French or German, I could have written this in French or German.
It would be the same information, just written in a different language, or a different format.
understanding file formats.
When you save a file, a picture, a document etc, to your computer, it's saved in a format.
The format is set by whichever program you've used to create the file. All programs have what's called a default format.
But I'm getting ahead of myself. we first need to know a little more about what file formats are.
So here goes.......
Let's say I need to get these supplies from the shops.
I'll make a list, a shopping list.
But what language do I use.
What language do I write the list in? What format do I use?
English, French or German?
Well since I only speak one language (or format), I have no choice, I have to write it in English.
I have to use the English language (the English format).
Who knows what I'll come back with if I try to write it in French or German?
Many of you out there will have 2 languages.
You may well speak English & French, or French & German, all 3 languages or more.
So you would have a choice of which language (or format) you used.
That's exactly how File Formats work on a computer.
Every file (picture, document, video or music track) has been created by a program.
And that program, created the file in a particular format, a particular language.
And just like human languages, there are thousands of file formats.
file formats in action.
Try doing this on your machine.
We're going to create a simple document in a program called Wordpad. It'll be saved in Wordpad's default format.
Then we'll try to open that document in Notepad.
Open Wordpad & then resize the window so that it's in the top half of your screen.
Then open Notepad & resize it to take up the bottom half of the screen.
If your not sure how to size/move a program window like this, you've probably missed this guide, Resizing a Program Window.
In Wordpad type -
Can you read this?
Then save the file onto your Desktop with the file name "Wordpad doc".
In Notepad, try to open the file "Wordpad doc".
Can't find it?
No, neither could I.
The reason we can't see the file Wordpad Doc, is because it's been saved in a file format (or language) that Notepad doesn't understand.
make notepad show all file formats.
As I said above, most programs will simply ignore file formats that they don't understand.
But all is not lost. We can make Notepad at least try to open our Wordpad Doc file.
At the bottom of the screen, click the small arrowhead in the file type box.
Then click ALL FILES.
This tells Notepad to show every file type (format). Even the ones it can't read (understand).
After clicking ALL FILES, you'll see every file that you've got on your Desktop.
Scroll through them and find "Wordpad Doc".
Once you've found it, left click once to select it, then click the OPEN button.
Well that's weird.
What we're trying to do here, is to demonstrate how file formats work, or don't.
Do try it out for yourself, I know it sounds a little complicated, but you can do everything here.
changing file formats.
So Notepad had a go at reading the file, but made a bit of a mess of it.
That's similar to handing me a note written in French, German or any language other than English.
But what if we could translate the note?
What if we could get Wordpad to save the file in a format (in a language) that Notepad understands?
Can it be done, and how do you do it?
As I said earlier, Wordpad is multi lingual. By that, I mean it can create (or save) documents in different file formats (or different languages).
So let's help Notepad out. We'll re-save the file in Wordpad, but this time, we'll change the format that Wordpad uses to save the file.
In Wordpad, left click FILE, then click SAVE AS.
On the menu, left click PLAIN TEXT DOCUMENT.
Change the file name to be "Wordpad doc 1" and save it to your Desktop.
When you click the SAVE button, you'll probably get this warning box open.
We'll come back to why this happens later, but for now click the YES button.
Now go back to Notepad and try to open the file "Wordpad doc 1".
WOW, we can see it without having to change the file type to ALL FILES.
Go ahead & open it.
Now Notepad can read the document.
It can do so because we told Wordpad to save the file in a format that Notepad can understand.
So even though the actual message "Can you read this?" is exactly the same, it depends on which format (or language) it's saved in.
Rather like our shopping list earlier.
Re-saving the file so that Notepad can open it.
Very easy to do, and a little satisfying when the message pops up.
File formats 2.
which brings us back to the save as window again.
I bet you thought you knew all that could be known about the Save As window. Well it has one more little secret. One more more function that we can use.
In all the previous guides we've been using Notepad to save simple files to play around with.
And Notepad can only save a file in the Text File Format (txt).
But most programs can save files in many different file formats. As we've just seen with Wordpad.
Close Notepad out of the way and then maximise Wordpad.
Click FILE and then click NEW, to start a new document (a new file).
On the blank page, type something, anything will do.
Now click FILE, and then SAVE. Just as you'd normally do to save the file.
The SAVE AS window opens.
Underneath the FILE NAME box, you'll see the SAVE AS TYPE box.
Currently it says "RICH TEXT FORMAT (RTF)".
That's the default file format in Wordpad. The native language for Wordpad to use.
But we can change it. Oh yes we can.
To the far right of the box, you'll see an arrowhead.
Click the arrowhead.
why so many formats? I hear you ask.
That my friends, would be a very good question.
And it brings us back to that message that Wordpad threw up earlier, when we saved the file as a Plain Text Document.
The Plain Text Document format that we were changing to is a very old file format.
It's designed to handle just text.
It has very few options by today's standards.
And so Wordpad is warning you that, if you've done anything fancy in your document, it will be lost if you save it as Plain Text.
ready to go?
So now we all know a little about file formats. We'll need that info later.