ISBN-13 conversion tool written in PHP

At work today I wrote a conversion tool to translate 10 digit ISBNs into 13 digit ISBNs. Jessica Kingsley Publishers have given me permission to share it with the world here.

I first wrote about ISBN-13 back in January 2003 and now I’m in a company that needs to contend with it.

The idea is to make the ISBN longer to allow for more of them. The clever bit about the initial move is that the ISBN-13s match the barcode EAMs, so the conversion work is relatively trivial. Having said that, I couldn’t find any code like the code below, when I went looking this week. I hope you find it useful.

You can read more online at the following places


Here’s the code.

3 Replies to “ISBN-13 conversion tool written in PHP”

Comments are closed.