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.)
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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 27 replies, 8 voices, and was last updated 1 year ago by
Ben.
AuthorTopicViewing 9 reply threadsAuthorRepliesPaul T
AskWoody MVP-
ctRanger
AskWoody Plus
dg1261
AskWoody_MVPCan 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 PlusAt 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_MVPYeah, 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.
-
anonymous
GuestctRanger
AskWoody PlusThank 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_MVPHave 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_MVPI’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 PlusFor 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_MVPFor 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_MVPHere’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 Plus -
ctRanger
AskWoody PlusThis 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 PlusNot 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 PlusI’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 Plus -
Alex5723
AskWoody Plushttps://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 PlusI 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
GuestHow 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
GuestI 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
GuestMy 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
GuestOh, 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 27 replies, 8 voices, and was last updated 1 year 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
-
VeraCrypt updates
by
Alex5723
1 hour, 15 minutes ago -
A.I. and AskWoody
by
WCHS
2 hours, 28 minutes ago -
Where is Windows Update?
by
bsfinkel
52 minutes ago -
mailwasher
by
jferr333
5 hours, 14 minutes ago -
Windows Photos
by
Linda2019
6 hours, 3 minutes ago -
OT QuickBooks payroll module not letting you efile 941
by
Susan Bradley
7 hours, 3 minutes ago -
MSA logins have been retired from DPC May 1st
by
Cormy1
7 hours, 1 minute ago -
Administrator Lock
by
John Monge
11 hours, 1 minute ago -
Skype cancels loopback audio
by
Steven
14 hours, 52 minutes ago -
Python re-installation
by
WSepzcaw
13 hours, 16 minutes ago -
Finally updated to Thunderbird 115
by
EricB
5 hours, 46 minutes ago -
Hard drive boot up problem in Windows AND Linux
by
rkacmar
45 minutes ago -
WSUS fails to download monthly Cumulative Update for Windows 11 Version 22H2
by
Bruce23
6 hours, 16 minutes ago -
Excel tone
by
WSmmi16
10 hours, 58 minutes ago -
Wait for the bugs to be worked out
by
Susan Bradley
17 hours, 25 minutes ago -
What Windows Really Needs [Pure OPINION]
by
RetiredGeek
9 hours, 39 minutes ago -
“Winmail.dat” attachments when email is sent from Outlook to Thunderbird
by
MrJimPhelps
1 day, 1 hour ago -
win 11 22H2 Memory itegrity error
by
krism
1 day, 9 hours ago -
McLaren Health Care 6TB data breach
by
Microfix
23 hours, 5 minutes ago -
Long Live the Red Envelope Era | Farewell to DVDs | Netflix
by
Alex5723
1 day, 12 hours ago -
Faststone Image Viewer updates
by
Alex5723
2 days, 14 hours ago -
Malicious ad served inside Bing’s AI chatbot
by
Alex5723
2 days, 14 hours ago -
win10 pro 22H2 current minus 1 mo,to, win11. suggestions…
by
krism
2 days, 2 hours ago -
Microsoft entered negotiations to sell Bing to Apple in 2020
by
Alex5723
2 days, 23 hours ago -
X CEO shows her iPhone’s Home Screen – and X isn’t there
by
Alex5723
3 days ago -
Keeping an older Mac secure
by
Susan Bradley
3 days, 1 hour ago -
Thunderbird – problem ”setting up existing email address”
by
stajourneyman
1 hour, 42 minutes ago -
Windows 11 Insider Preview build 23555 released to DEV
by
joep517
3 days, 11 hours ago -
Something didn’t go as planned KB5030310, KB 5030219
by
Donald Wyllie
2 days, 1 hour ago -
“Enhanced” search box
by
WSraysig
3 days, 13 hours ago
Recent blog posts
- Wait for the bugs to be worked out
- MS-DEFCON 4: Is Windows 11 really a disaster?
- Windows 11, Surface, and Windows Copilot
- Why File Explorer keeps me on Windows
- Uninstalr — “World’s best cup of coffee”
- Locked out of your refurbished computer?
- What happened to the manual?
- Apple zero days out – September 2023
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
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-2023 by AskWoody Tech LLC. All Rights Reserved.