{"id":34330,"date":"2025-03-03T14:09:12","date_gmt":"2025-03-03T12:09:12","guid":{"rendered":"https:\/\/www.kaspersky.co.za\/blog\/?p=34330"},"modified":"2025-03-03T14:09:12","modified_gmt":"2025-03-03T12:09:12","slug":"how-to-convert-files-safely","status":"publish","type":"post","link":"https:\/\/www.kaspersky.co.za\/blog\/how-to-convert-files-safely\/34330\/","title":{"rendered":"How to safely convert files"},"content":{"rendered":"<p>You almost certainly know the situation when a friend or colleague sends you files in a format you can\u2019t open. For example, you asked for photos, expecting JPEGs or PNGs, but instead they arrive in HEIC format. What do most people do in this case? That\u2019s right, they look for a free online file-converter.<\/p>\n<p>If you\u2019re a long-time reader of our <a href=\"https:\/\/www.kaspersky.com\/blog\/\" target=\"_blank\" rel=\"noopener nofollow\">Kaspersky Daily blog<\/a>, you probably already know that the most popular method of doing most anything is hardly ever the safest. File conversion is no different. Let\u2019s figure out together what threats are lurking inside free online-converters, and find out how to change file format safely.<\/p>\n<p>Why is this important? Because converting a file is not simply a matter of changing its extension \u2014 otherwise you could just rename the file from, say, EPUB to MP3. Instead, the converter program must read the file, understand what it contains, convert the data and re-save it in a different format \u2014 and each of these stages poses its own threats.<\/p>\n<h2>Personal data leakage, malware, and other threats<\/h2>\n<p>The first risk that springs to mind is <strong>personal data leakage<\/strong>. Even if you\u2019re a \u201cwho on earth needs my data?\u201d kind of person, you should still take care: your vacation snaps may be of no use to anyone, but confidential work documents are a different kettle of fish. When you upload a file to an online converter, you can never be sure that the site won\u2019t save a copy of your file for its own purposes. Uploaded data can easily end up in the hands of scammers, and even be used to launch an attack on your company. And if you get fingered as the intruders\u2019 entry point into the corporate network, your infosec team will hardly be thanking you.<\/p>\n<p>If you think this threat applies solely to text or spreadsheet documents, and that a photo of some accounting statement can be safely uploaded and converted to PDF, think again. <a href=\"https:\/\/en.wikipedia.org\/wiki\/Optical_character_recognition\" target=\"_blank\" rel=\"nofollow noopener\">Optical character recognition (OCR)<\/a> was invented last century, and now, with AI, even <a href=\"https:\/\/www.kaspersky.com\/blog\/ios-android-ocr-stealer-sparkcat\/52980\/\" target=\"_blank\" rel=\"noopener nofollow\">mobile Trojans have learned to extract data of interest to attackers from photos in your smartphone gallery<\/a>.<\/p>\n<p>Another common risk is <strong>malware infection<\/strong>. Some dubious converter sites may modify your files or add malicious code to the converted file \u2014 and without <a href=\"https:\/\/www.kaspersky.co.za\/premium?icid=en-za_bb2022-kdplacehd_acq_ona_smm__onl_b2c_kdaily_lnk_sm-team___kprem___\" target=\"_blank\" rel=\"noopener\">reliable protection<\/a>\u00a0you won\u2019t know about it until it\u2019s too late. The converted files may contain scripts, Trojans, macros, and other nasty stuff <a href=\"https:\/\/www.kaspersky.com\/blog\/top4-dangerous-attachments-2019\/27147\/\" target=\"_blank\" rel=\"noopener nofollow\">we\u2019ve covered in detail<\/a> many times.<\/p>\n<p>Converter sites may also be <strong>phishing<\/strong>, so services asking you to register, enter a load of personal data, and buy a subscription just to convert a file from, say, PDF to DOC, should be eyed with suspicion. If you still plan to use an online converter, look for one that doesn\u2019t require registration, and never give it your payment details.<\/p>\n<h2>How to convert files locally<\/h2>\n<p>The safest way is to convert files locally; that is, on your own device without using third-party sites. This way, the data is guaranteed to remain confidential \u2014 at least until you connect to the internet. You can change a file\u2019s format using either system tools or popular programs.<\/p>\n<p>For <strong>text and spreadsheet files, as well as presentations<\/strong>, Microsoft Office can help. It can read many file formats using the <strong>File \u2192 Open <\/strong>or <strong>File \u2192 Import<\/strong> commands (depending on the version of Office and the operating system), and save them in different formats using the <strong>File<\/strong> <strong>\u2192<\/strong> <strong>Save as<\/strong> <strong>\u2192 <\/strong><strong>Save as type <\/strong>(or<strong> File format<\/strong>) or <strong>File \u2192 Export<\/strong> commands. The list of available formats is long: from PDF and HTML to the <a href=\"https:\/\/en.wikipedia.org\/wiki\/OpenDocument\" target=\"_blank\" rel=\"nofollow noopener\">OpenDocument<\/a> standard.<\/p>\n<p>If you don\u2019t have access to Microsoft products, you can use the free alternatives <a href=\"https:\/\/www.libreoffice.org\/\" target=\"_blank\" rel=\"nofollow noopener\">LibreOffice<\/a> and <a href=\"https:\/\/www.openoffice.org\/\" target=\"_blank\" rel=\"nofollow noopener\">OpenOffice<\/a>, which also support various text and table file formats. On Windows, text documents can also be converted in a built-in WordPad editor, although it reads far fewer file types.<\/p>\n<p>For macOS users, Apple\u2019s office applications (Pages, Numbers, Keynote) recognize and save documents in many different formats.<\/p>\n<p>As for <strong>graphics files<\/strong>, things are even simpler. Built-in operating-system tools can help convert images from PNG to JPEG. On Windows, just use this command in Paint: <strong>File<\/strong> <strong>\u2192<\/strong> <strong>Save as<\/strong>. macOS users don\u2019t even need to open any programs \u2014 just right-click the image in <strong>Finder<\/strong> and select <strong>Quick Actions \u2192 Convert Image<\/strong>. The window that opens gives you a choice of format (PNG, JPEG, HEIF) and converted image size.<\/p>\n<p>If the above conversion options aren\u2019t enough \u2014 for example, you\u2019re handling audio\/video files or specific file formats \u2014 look for offline tools with a solid reputation as free and open-source software (FOSS).<\/p>\n<p>For video (and many audio) formats, check out <a href=\"https:\/\/handbrake.fr\/\" target=\"_blank\" rel=\"nofollow noopener\">Handbrake<\/a> (Windows, macOS, Linux) and <a href=\"https:\/\/www.shutterencoder.com\/\" target=\"_blank\" rel=\"nofollow noopener\">Shutter Encoder<\/a> (Windows, macOS, Linux); for audio, try <a href=\"https:\/\/www.audacityteam.org\/\" target=\"_blank\" rel=\"nofollow noopener\">Audacity<\/a>, and for images, <a href=\"https:\/\/imagemagick.org\/\" target=\"_blank\" rel=\"nofollow noopener\">ImageMagick<\/a> (Windows, macOS, Linux).<\/p>\n<p>Most multimedia converters simply add a graphical interface to <a href=\"https:\/\/ffmpeg.org\/\" target=\"_blank\" rel=\"nofollow noopener\">FFmpeg<\/a>, perhaps the top tool for converting multimedia formats. Its only drawback (which for some is a plus) is that it only works from the command line.<\/p>\n<p>If you\u2019re fine with the command line, FFmpeg is the obvious choice (but, being fine, you\u2019ve probably got it installed already). Another great choice for command line fans is <a href=\"https:\/\/pandoc.org\/\" target=\"_blank\" rel=\"nofollow noopener\">Pandoc<\/a> \u2014 a versatile converter of text and markup formats. Incidentally, under <a href=\"https:\/\/pandoc.org\/extras.html\" target=\"_blank\" rel=\"nofollow noopener\">Extras<\/a> on the Pandoc website, you can find many third-party utilities for adding a graphical interface to this converter, or embedding it in other editors, services, or even operating systems.<\/p>\n<p>All of the above converters are FOSS (free and open-source software), and support at least the most popular operating systems: Windows, macOS, Linux.<\/p>\n<p>When choosing other offline converters, make sure that the conversion really does take place <strong>locally<\/strong> \u2014 many tools simply provide an interface to online converters and still send your source files to a server. This is very easy to check by disconnecting from the internet before converting. If the tool doesn\u2019t work, it\u2019s not an offline converter.<\/p>\n<h2>How to convert files online as safely as possible<\/h2>\n<p>Sometimes there\u2019s no avoiding online converters \u2014 for example, you were sent a file in some highly exotic or outdated format. The next section looks at how to minimize threats when converting files online.<\/p>\n<p>Alas, it\u2019s impossible to guarantee confidentiality when using an online converter. Its creators can write whatever they want in the site\u2019s policies, but you\u2019ll never know what actually happens to your uploaded data. Therefore, the golden rule is: never convert sensitive information online.<\/p>\n<p>If you have a Google account (and who doesn\u2019t?), you can upload the file you want to convert to Google Drive (most office formats are accepted), right-click, and open it in Google Docs\/Sheets\/Slides, then download it in a different format. Among the pluses, this method also works on mobile devices \u2014 although in this case it\u2019s more convenient to open the file in the relevant Google editing tool.<\/p>\n<p>Another fairly safe way to convert either text or graphics files is <a href=\"https:\/\/www.adobe.com\/acrobat\/online.html\" target=\"_blank\" rel=\"nofollow noopener\">Adobe\u2019s online converter<\/a>. You can even use it for free on a smartphone \u2014 but there\u2019s a catch: all uploaded data gets stored on Adobe\u2019s servers, making this method unsuitable for confidential files.<\/p>\n<p>Follow these rules to ensure maximum safety when converting files online:<\/p>\n<ul>\n<li>Use reputable online converters.<\/li>\n<li>Open the converter site in a new browser window in Incognito mode; this will reduce the amount of information collected about you \u2014 but <a href=\"https:\/\/www.kaspersky.com\/blog\/incognito-myth-how-private-browsing-works\/51408\/\" target=\"_blank\" rel=\"noopener nofollow\">not down to zero<\/a>.<\/li>\n<li>Use a <a href=\"https:\/\/www.kaspersky.co.za\/vpn-secure-connection?icid=en-za_kdailyplacehold_acq_ona_smm__onl_b2c_kasperskydaily_wpplaceholder____vpn___\" target=\"_blank\" rel=\"noopener\">reliable VPN<\/a>\u00a0to hide your real IP address from the converter site.<\/li>\n<li>Review the online converter\u2019s privacy policy to understand how your data will be handled. Make sure the service does not collect, store, or transfer information without your consent\u00a0\u2014 or at least claims not to.<\/li>\n<li>Check that the files for conversion do not contain confidential information.<\/li>\n<li>Scan the converted files with an <a href=\"https:\/\/www.kaspersky.co.za\/premium?icid=en-za_bb2022-kdplacehd_acq_ona_smm__onl_b2c_kdaily_lnk_sm-team___kprem___\" target=\"_blank\" rel=\"noopener\">antivirus<\/a>. Be very wary if the converter site wants you to download the result in an archive \u2014 especially a password-protected one, since this is the most common way to conceal a virus from security software. If you don\u2019t have any <a href=\"https:\/\/www.kaspersky.co.za\/home-security?icid=en-za_kdailyplacehold_acq_ona_smm__onl_b2c_blo_lnk_sm-team______\" target=\"_blank\" rel=\"noopener\">protection software<\/a>\u00a0on your device (heaven forbid), you can scan the downloaded file using <a href=\"https:\/\/opentip.kaspersky.com\/\" target=\"_blank\" rel=\"noopener nofollow\">our online file checker<\/a>.<\/li>\n<li>Avoid unverified sites that require registration and payment details.<\/li>\n<\/ul>\n<h2>Unzip this<\/h2>\n<p>Lastly, a small life-hack that few people know about. Sometimes you don\u2019t need to convert a file to another format at all, but just extract information from it; for example \u2014 pull images out of a text document or presentation in their original format. Doing this even with native editors is usually time-consuming and inconvenient \u2014 you have to export the images one by one, and the editors might change their size or compress them, deteriorating the picture quality.<\/p>\n<p>But there\u2019s a way round this. The secret is that files of many formats are nothing more than a compressed folder with subfolders that store \u201cpieces of the puzzle\u201d: text, images, embedded videos, and the like. And it\u2019s all <a href=\"https:\/\/en.wikipedia.org\/wiki\/ZIP_(file_format)\" target=\"_blank\" rel=\"nofollow noopener\">zipped<\/a>. That means that almost all office-suite files are ZIPs with the extension changed to DOCX, PPTX, PAGES, etc.<\/p>\n<p>To extract all the contents from this \u201carchive\u201d, you simply need to rename the file, changing its extension to ZIP, and then unzip it. The result will be a folder with subfolders in which all the \u201cingredients\u201d of the original document are neatly laid out.<\/p>\n<p>So, if you come across an unknown file format, first of all scan it for viruses with a <a href=\"https:\/\/www.kaspersky.co.za\/premium?icid=en-za_bb2022-kdplacehd_acq_ona_smm__onl_b2c_kdaily_lnk_sm-team___kprem___\" target=\"_blank\" rel=\"noopener\">reliable security solution<\/a>, then make a copy of it, change the extension to ZIP (in macOS, if the file extension is hidden, you may need to press <strong>\u2318<\/strong><strong>+I<\/strong> to change it), and try to unzip the file \u2014 in many cases this will work. Next, have a rummage around in the resulting folder \u2014 you\u2019ll find all sorts of goodies!<\/p>\n<input type=\"hidden\" class=\"category_for_banner\" value=\"premium-generic\">\n","protected":false},"excerpt":{"rendered":"<p>Online converters are a tempting but dangerous way to change file formats. We tell you how to convert files and not get trojanized.<\/p>\n","protected":false},"author":2706,"featured_media":34331,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1788,9],"tags":[176,390,97,131],"class_list":{"0":"post-34330","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-privacy","8":"category-tips","9":"tag-documents","10":"tag-pdf","11":"tag-security-2","12":"tag-tips"},"hreflang":[{"hreflang":"en-za","url":"https:\/\/www.kaspersky.co.za\/blog\/how-to-convert-files-safely\/34330\/"},{"hreflang":"en-in","url":"https:\/\/www.kaspersky.co.in\/blog\/how-to-convert-files-safely\/28634\/"},{"hreflang":"en-ae","url":"https:\/\/me-en.kaspersky.com\/blog\/how-to-convert-files-safely\/23874\/"},{"hreflang":"ar","url":"https:\/\/me.kaspersky.com\/blog\/how-to-convert-files-safely\/12304\/"},{"hreflang":"en-gb","url":"https:\/\/www.kaspersky.co.uk\/blog\/how-to-convert-files-safely\/28752\/"},{"hreflang":"es-mx","url":"https:\/\/latam.kaspersky.com\/blog\/how-to-convert-files-safely\/27982\/"},{"hreflang":"es","url":"https:\/\/www.kaspersky.es\/blog\/how-to-convert-files-safely\/30802\/"},{"hreflang":"it","url":"https:\/\/www.kaspersky.it\/blog\/how-to-convert-files-safely\/29489\/"},{"hreflang":"ru","url":"https:\/\/www.kaspersky.ru\/blog\/how-to-convert-files-safely\/39149\/"},{"hreflang":"tr","url":"https:\/\/www.kaspersky.com.tr\/blog\/how-to-convert-files-safely\/13200\/"},{"hreflang":"x-default","url":"https:\/\/www.kaspersky.com\/blog\/how-to-convert-files-safely\/53109\/"},{"hreflang":"fr","url":"https:\/\/www.kaspersky.fr\/blog\/how-to-convert-files-safely\/22624\/"},{"hreflang":"pt-br","url":"https:\/\/www.kaspersky.com.br\/blog\/how-to-convert-files-safely\/23450\/"},{"hreflang":"de","url":"https:\/\/www.kaspersky.de\/blog\/how-to-convert-files-safely\/31992\/"},{"hreflang":"ru-kz","url":"https:\/\/blog.kaspersky.kz\/how-to-convert-files-safely\/28875\/"},{"hreflang":"en-au","url":"https:\/\/www.kaspersky.com.au\/blog\/how-to-convert-files-safely\/34702\/"}],"acf":[],"banners":"","maintag":{"url":"https:\/\/www.kaspersky.co.za\/blog\/tag\/tips\/","name":"tips"},"_links":{"self":[{"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/posts\/34330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/users\/2706"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/comments?post=34330"}],"version-history":[{"count":1,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/posts\/34330\/revisions"}],"predecessor-version":[{"id":34333,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/posts\/34330\/revisions\/34333"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/media\/34331"}],"wp:attachment":[{"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/media?parent=34330"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/categories?post=34330"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kaspersky.co.za\/blog\/wp-json\/wp\/v2\/tags?post=34330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}