I’m still using Quicken (2012) offline and trying to find a decent csv-to-qif converter.ย Does anybody know of anything legit from a safe site?ย ( I see a few out there but am always leery of sites I don’t know.)
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
CSV to QIF for Quicken
Home » Forums » AskWoody support » Productivity software by function » Non-MS Apps/programs » CSV to QIF for Quicken
- This topic has 29 replies, 8 voices, and was last updated 9 months, 3 weeks ago by
MDob.
Viewing 9 reply threadsAuthorRepliesPaul T
AskWoody MVPFebruary 28, 2022 at 1:32 am #2428263Transactions seems to do it, but it’s not free.
cheers, Paul
1 user thanked author for this post.
-
ctRanger
AskWoody Plus
dg1261
AskWoody_MVPFebruary 28, 2022 at 12:36 pm #2428419Can you use QFX instead of CSV? If so, I have a small perl script I made years ago that converts QFX to QIF so I can import into the Quicken 2002 I still use. (Caveat: it only works for bank and credit card transactions, so it won’t help if you need it for other types of accounts. I never enhanced it beyond that.)
If you don’t find a better solution, let me know if you want to try that.
-
ctRanger
AskWoody PlusMarch 1, 2022 at 12:48 pm #2428710At this point my better solution is to manually enter the transactions, and there’s quite a bit backed up.
Credit card/bank types are all I need. I can get a lot of the files as QFX, but am clueless about perl.ย I did a few searches but couldn’t figure out what I would need to run it.ย What would I need?
-
dg1261
AskWoody_MVPMarch 1, 2022 at 3:03 pm #2428736Yeah, I realize that, unlike me, most people don’t have perl installed on their system, so I’ll bundle a tiny portable perl interpreter (less than 1 MB) with the download.
Download qfx-to-qif.zip from my website. Extract the folder from within, and place it on your desktop or someplace readily accessible. Download the transaction history from your financial institutions as .qfx files, and drop them into the folder. Then double-click the “CONVERT OFX-QFX FILES TO QIF.cmd” file to convert all the .qfx files in the folder to .qif files.
-
MDob
GuestJuly 19, 2024 at 6:05 pm #2688996OMG, thank you!ย I’ve been manually entering transactions for years, since my cc company stopped offering the qif downloads.ย This just gave me back days of my life!ย It was the second worst part of paying bills (after coming up with the money to pay them ๐ย The code works like a dream.
-
-
anonymous
GuestBen
Guest-
Paul T
AskWoody MVP
ctRanger
AskWoody PlusMarch 1, 2022 at 5:26 pm #2428788Thank you thank you thank you, I just imported the first QIF.ย ย I’ve been buried in this and it will at least recover the last 3 months of madness.ย I’ll probably write off the .csv conversion as a lost cause.Have never heard of perl, but I quit the IT world 20 years ago and burned my pager (yeah).ย Wish I could pick things up again just to deal with these kinds of problems.Thanks again.-
dg1261
AskWoody_MVPMarch 1, 2022 at 6:46 pm #2428804Have never heard of perl, but I quit the IT world 20 years ago and burned my pager (yeah).ย Wish I could pick things up again just to deal with these kinds of problems.
Well, perl is definitely old school. When I was designing websites back in the late 90’s perl was the de facto standard in Apache web cgi-bin scripting, so that’s what I learned.
But it’s not just for the web, it can also be used for general purpose scripting, akin to VBScript in the Windows world. When perl was ported to the Windows platform, I jumped at it because I already knew how to use it, and to this day still use it regularly.
But you don’t see perl much anymore, and I wouldn’t recommend anyone bother learning it just to do some scripting. Learning PowerShell or VBScript for general scripting will probably get you farther, while PHP has become the new standard for web scripting.
-
dg1261
AskWoody_MVPMarch 1, 2022 at 8:27 pm #2428825Iโll probably write off the .csv conversion as a lost cause.
The problem with .csv files, as I see it, is that there is no agreed upon standard. I test-downloaded .csv files from several of my banks and credit card companies, and every one of them used a different presentation of columns and a variety of field names. Some even used different columns for debits and credits (and all positive numbers), while others used a single column with positive vs negative numbers designating credit vs debit. So I’m not sure I’d trust how accurate a purported csv-to-qif converter might be.
In contrast, .qfx files (which some of my banks call “Quicken 2010” format) will all use the same field names because they all have to conform to the Quicken standard. The Quicken-standard field names are what my script keys in on when converting to .qif.
-
ctRanger
AskWoody PlusMarch 2, 2022 at 10:50 am #2428892For a one-time load, the formats of the .csv’s wouldn’t matter so much to me.ย Each account (12) has about 2 years of transactions in the .csv, I could manually manipulate that data to fit a certain format.ย But dealing with the amount of missing data and create .qfx/.qif structure just seems daunting to me.
I have the past 120 days loaded and can go forward with your script, it is a life-saver for this. -
dg1261
AskWoody_MVPMarch 2, 2022 at 3:54 pm #2428964For a one-time load, the formats of the .csvโs wouldnโt matter so much to me. Each account (12) has about 2 years of transactions in the .csv, I could manually manipulate that data to fit a certain format.
It would be a daunting task to have to accommodate variable formats on an ongoing basis. But if you only need a one-off solution and can tweak your .csv files first, we should be able to handle that.
It sounds like you have a dozen .csv files, one per bank or credit card account. If you can edit each file to use a consistent format, I’ll work up a script to read each .csv and turn it into .qif format. For a one-off, I won’t waste my time with a lot of bounds- and error-checking overhead because the script will be working with a single, known format.
I’ll do that when I get back home later today. Meanwhile, you can start by rearranging each .csv file to use the following columns:
Date, Amount, Cleared, Chk Num, Payee, Category, Memo
The QIF format spec is pretty spartan and doesn’t really allow for much more than that, so if your .csv contains additional fields, they should be dropped because they can’t be imported anyway.
If your .csv has separate columns for credit and debit, merge them into a single Amount column, with negative numbers for debits. Positive numbers will be credits.
Format the Date field as mm/dd/yy. Format the Amount field as a number — no commas or “$” sign.
When you export everything back out as a new .csv file, open it in notepad (or other text editor) and scan to make sure there are no quotation marks. (Usually, that means making sure there are no commas in any of your entered data because the CSV format uses commas as field separators.)
-
dg1261
AskWoody_MVPMarch 2, 2022 at 11:50 pm #2429034Here’s the script for converting .csv to .qif, with instructions for how to use it.
Minor correction to earlier post: field name in your .csv should be “ChkNum” (no space), not “Chk Num”. It’s an optional field, and only of use if you wish to associate a check number with a checking account transaction.
-
ctRanger
AskWoody PlusMarch 3, 2022 at 6:09 am #2429081 -
ctRanger
AskWoody PlusMarch 5, 2022 at 7:16 am #2429473This script is great.ย Most of my time was determining how to modify the fields in each .csv to convert them correctly.ย ย I found the commas and double quotes but the amount formats are pretty wild (remove leadingย ‘$ย and swap the -/+ ).ย ย Got 2 years of some accounts loaded, working on the others.
-
Drcard:))
AskWoody_MVPMarch 5, 2022 at 7:56 am #2429479Not sure how you are editing these csv files, but I found that opening the csv files with Excel allows you to import only the columns you want (getting rid of unwanted data) and you can easily rearrange the columns in the correct order. Save as csv. The script should convert without any more editing needed.
HTH, Dana:))
HTH, Dana:))
-
ctRanger
AskWoody PlusMarch 5, 2022 at 9:26 pm #2429587I’m using LibreOffice.ย Every account so far uses a different format, even within a bank.ย ย Most amount columns are just a signed numeric, some need the sign swapped, but a couple are text-format with $ embedded in the text value.ย What were they thinking about when they wrote that one.I’d go nuts if I had to do this every month for the 10 accounts, but for 2 years worth at a one time, its fine.ย Making the bulk of the modifications (category, memo) is easier in a spreadsheet than in quicken.
-
-
-
Paul T
AskWoody MVP-
ctRanger
AskWoody PlusMarch 2, 2022 at 10:58 am #2428893 -
Alex5723
AskWoody PlusMarch 3, 2022 at 3:38 am #2429068https://listoffreeware.com/free-qfx-to-qif-converter-software-windows/
HomeBank is free personal accounting software that can also be used as a QFX to QIF converter. It works on Windows, macOS, and Ubuntu. In this software, you can directly import a QFX file to instantly create an imported account. However, it also lets you import QFX file financial data to an existing account if you want. Apart from QFX, you can also import and convert OFX and CSV files to QIF format.
1 user thanked author for this post.
-
Steve D
AskWoody LoungerMarch 20, 2022 at 6:45 pm #2432985I don’t use QFX, but that worked out for you I see.
But maybe somebody could help me with QIF.ย I imported my scanned receipts from Epson ScanSmart. Their export to QIF doesn’t seem to work so well. So I saved to CSV, massaged it a bit in excel and used an online converter at csvconverter without incident although now I see it complains of certificate problem so I guess I can’t recommend it.ย It worked ok after some fiddling, but I am looking for something a little better.
I was going to try at http://xl2qif.chez-alice.fr/xl2qif_en.php, that is an excel addin.ย I would import the csv to excel and then export as a QIF.ย Has anybody experience with that?
TIA,
Steve
Lenora
GuestAugust 7, 2022 at 11:44 pm #2468356How safe is that Transactions App?ย I need to do a one-time only conversion for about a half dozen accounts and I hate to have that info all at risk yet I really don’t have the time to get Quicken updated.ย I figure I could use the app one time for each and then cancel it as I plan to stay on top of entries better.ย Thoughts?
~Lenora
Ben
GuestSeptember 18, 2022 at 12:13 am #2479364I just wrote up this simple perl script to take CSV data (which I paste right into the script, rather than reading from a file), and output a QIF for Quicken 2012. Fortunately, QIF format is really easy to worth with.
#!/usr/bin/perl my @fields = qw(Account ChkRef Debit Credit Balance Date Description); my $input = "DATA"; my $data; my @lines = split "\n", $input; for ( my $i = 0; $lines[$i]; $i++ ) { my @items = split ",", $lines[$i]; for ( my $j = 0; $fields[$j]; $j++ ) { $data->[$i]{$fields[$j]} = $items[$j]; } } open (my $file, ">", "import.qif"); print $file "!Type:Bank\n"; for my $trans ( @$data ) { print $file "D$trans->{'Date'}\n"; print $file "T-$trans->{'Debit'}\n" if $trans->{'Debit'}; print $file "T$trans->{'Credit'}\n" if $trans->{'Credit'}; print $file "N$trans->{'ChkRef'}\n" if $trans->{'ChkRef'}; print $file "P$trans->{'Description'}\n"; print $file "L[Sales]\n" if $trans->{'Description'} =~ /MERCHANT|CLOVER/; print $file "Mmemo\n" if $trans->{'Description'} =~ /keyword/; print $file "^\n"; } close $file; print "Data converted to import.qif\n";
[Moderator edit] formatted code to allow copy / paste (fixes quotes)
Paul T
AskWoody MVP-
Ben
GuestSeptember 18, 2022 at 2:38 pm #2479603My bank’s CSV does not use include quotes. The 2nd line of that code is where I copied the CSV header line into, and then I removed commas.
But here, I made a simpler version, which actually just reads the csv file when passed as input (“perl convert.pl data.csv”). You might need to update the field names in the print statements to match what’s in your bank’s CSV. And if your bank uses quotes, then just update the “split” line to wrap the existing double quotes with single quotes (to include the quotes in what your splitting on), and just before that line, remove the 1st and last characters (s/^.|.$//g;)
#!/usr/bin/perl open OUT, ">", "import.qif" ; print OUT "!Type:Bank\n"; my @fields; while ( <> ) { s/\n|\x0D//g; @items = split ","; if ( !@fields ) { @fields = @items; next; } my %trans; for my $field ( @fields ) { $trans{$field} = shift @items; } print OUT "D$trans{'Date'}\n"; print OUT "T-$trans{'Debit'}\n" if $trans{'Debit'}; print OUT "T$trans{'Credit'}\n" if $trans{'Credit'}; print OUT "N$trans{'ChkRef'}\n" if $trans{'ChkRef'}; print OUT "P$trans{'Description'}\n"; print OUT "L[Sales]\n" if $trans{'Description'} =~ /MERCHANT|CLOVER/; print OUT "Mmemo\n" if $trans{'Description'} =~ /keyword/; print OUT "^\n"; } close OUT; print "Data converted to import.qif\n";
Ben
GuestSeptember 18, 2022 at 2:38 pm #2479614Oh, I also wanted to mention I realized this actually super simple to do in Excel with some basic concatenation. Like, you’d put this stuff into a column, and then copy that column to a text file with .qif extension.
A8=”!Type:Bank”
B8=”D”%B6&”
T”%B4&”
P”%B7&”
^”I did not check that, btw. And you may need to do something slightly fancier (an IF) to account for credit vs debit (which needs a minus sign added) depending on how your bank ย provides it.
Viewing 9 reply threads - This topic has 29 replies, 8 voices, and was last updated 9 months, 3 weeks ago by
-

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
33 minutes ago -
May 2025 updates are out
by
Susan Bradley
58 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
4 hours, 5 minutes ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
4 hours, 6 minutes ago -
Drivers suggested via Windows Update
by
Tex265
3 hours, 57 minutes ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
1 hour, 41 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
10 hours, 57 minutes ago -
Apple releases 18.5
by
Susan Bradley
5 hours, 22 minutes ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
12 hours, 23 minutes ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
13 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
1 hour, 53 minutes ago -
No HP software folders
by
fpefpe
20 hours, 42 minutes ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
6 minutes ago -
Stay connected anywhere
by
Peter Deegan
1 day, 2 hours ago -
Copilot, under the table
by
Will Fastie
17 hours, 18 minutes ago -
The Windows experience
by
Will Fastie
1 day, 8 hours ago -
A tale of two operating systems
by
Susan Bradley
23 hours, 15 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
1 day, 13 hours ago -
Where’s the cache today?
by
Up2you2
2 days, 4 hours ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
1 day, 21 hours ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
22 hours, 4 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
19 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
2 days, 22 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
2 days, 22 hours ago -
regarding april update and may update
by
heybengbeng
2 days, 23 hours ago -
MS Passkey
by
pmruzicka
2 days, 1 hour ago -
Can’t make Opera my default browser
by
bmeacham
3 days, 7 hours ago -
*Some settings are managed by your organization
by
rlowe44
2 days, 18 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
3 days, 6 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
4 days, 2 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.