ASIN to EAN converter

Désolé, cet article est seulement disponible en English. Pour le confort de l’utilisateur, le contenu est affiché ci-dessous dans une autre langue. Vous pouvez cliquer le lien pour changer de langue active.

Since I was needing an EAN to ASIN converter and ASIN to EAN converter (UPC/barcode and Amazon code), but could not find any on the web, I decided to write one myself. It is always fun to learn a new API (here I used Amazon Web Services). And when it works exactly as you expect, you are definitely API!

You can input several codes (batch mode) by separating them with « ; » (semicolon). The output will be one column with the original code and another with the converted code.

So, long story short, here comes the beauty, and the beast (also available here on a dedicated page/window):

This converter can easily be embedded on your own website using the following code:

<iframe style="border: solid 1px #ccc;" src="" width="490" height="630"></iframe>

Latest features:
30/12/2014: Tab in URL and locale persistence.
19/12/2014: Responsive/Mobile-friendly version.
09/12/2014: Much faster batch operations & UI rewritten for easier readability.
09/06/2014: UI improvements for batch operations.
30/04/2014: Added support for BR (Brazil) and IN (India) locales.
02/10/2011: Added support for ES (Spain) locale.
27/08/2011: Added support for IT (Italy) and CN (China) locales.

Please feel free to report any bug you might encounter, or suggest improvements.

I may be available for consulting work on a case by case basis. Just drop me a note if needed.

41 commentaires à l'article “ASIN to EAN converter”

  1. Fred J
    3 avril 2008 | 10:28

    Good Day!

    This is nice. I’m looking for the other way round 🙂

    Any chance to have a look at your code? I’d love to write the counterpart ean2asin / eantoasin …

    Thanky You!
    Le bonjour to France

  2. 4 avril 2008 | 23:22

    Hello Fred J,

    I’m reviewing your query. It’s a little more complicated to to the reverse thing (you have to specify a « SearchIndex » parameter in the request).

    However I’ll do it soon and release it here.


  3. Warjat
    18 avril 2008 | 18:22

    Hi there,
    This is a wonderful app.
    Would you mind letting me know (or showing me the code) that does this conversion?
    I have to do batch conversions, and knowing the process would greatly help me out.


  4. 19 avril 2008 | 03:54

    Fred J, I have added the feature you requested. You can now also do an EAN to ASIN conversion. For the moment only France, USA, and Germany are supported, but if required I can add others quite easily.
    Note that for the EAN to ASIN conversion, you need to specify the Search Index, i.e. the category of the article. But for the USA locale, it is not necessary since the category « All » exists.

    Warjat, I’m glad you appreciate. FYI, I will surely include a mass ASIN to EAN conversion feature in the future (within a few months). You will have to input coma separated ASIN codes, and it will give you a correspondance table.

  5. Mori
    4 mai 2008 | 17:35

    Hi, this converter is awesome! It’s helped me search for and find, some really rare CD’s to add to my collection 🙂

    Thank you so much!

    p.s. out of the hundreds of ASIN no.’s I have tried only 1 does not work on either US, France or Germany setting. ASIN B0000932E8 – do you know why this could be??

  6. 5 mai 2008 | 12:25

    Hello Mori, thanks for your interest.

    I have checked that ASIN, which is an Evanescence CD.
    It has not the same behaviour in the Germany Store, where it is referenced. The output is blank, while France and USA give an error.

    I have tried to get the full result of a request, and the EAN is apparently not available for this product. So there is no need to check further!

  7. Mori
    5 mai 2008 | 14:17

    Thanks Erwin for your help and quick reply! Much appreciated as I am a big Evanescence fan.

    Thankyou, Mori

  8. 13 février 2009 | 01:52

    FYI I added today UK, Japan and Canada support.

  9. thomas
    16 juin 2009 | 15:56

    Hi, this is indeed a great tool!
    Anyhow, as I have a file of >1.000 items to be converted from ASIN to EAN, I wanted to see if there is some progress on the mass ASIN to EAN conversion feature. I entered several ASIN-numbers separated by coma but I did not seem to be already working.

    Thanks in advance for your answer and best regards,

  10. 16 juin 2009 | 17:15

    Hi Thomas,

    I’ll do it right now… 🙂

    Stay connected.

  11. 16 juin 2009 | 21:20

    You can now use semicolumns to process a lot of codes at the same time, as explained in the updated description.

  12. RayJ
    28 mai 2010 | 23:30


    Thanks for releasing this code! I have to convert a large number of ASIN as Amazon canceled my account (since the account is based in Colorado).


  13. Andreas
    21 janvier 2011 | 15:09


    Very good Tool – but is it possible, to get some other countries in the search? I need poland for example…



  14. 21 janvier 2011 | 15:49

    Hallo Andreas,

    As far as I know, there has been no Polish version of Amazon as yet.



  15. Maxim
    8 juillet 2011 | 10:22

    Your ASIN to EAN converter is wonderful!

    Please, please, please: could you add for EAN-to-ASIN also the query to the italian site,
    All the italian people will be grateful to you, so we will distinguish between the italian guarantee and the international!

    Thank U!


  16. 27 août 2011 | 15:28

    Hello Maxim, I have just added support for Italy and China! I have also upgraded to use the latest version of the API (2011-08-01) to be ale to use more up to date search indices, and especially the « All » search index.

  17. fmera
    29 août 2011 | 06:21

    i just noticed the upgrade 🙂 very much appreciated!

  18. 13 octobre 2011 | 17:13

    j’ai creer une page avec votre fonction.
    en mode EAN2AQSIN
    j’ai une erreur 405 dans l’edit du ASIN
    je n’arrive pas bien a comprendre quels sont les cles a mettre
    car je pense que c’est du a cela.
    je debute sur amazon.
    je cherche une fonction qui me donnerait le code ASIN a partir du code EAN13.
    voici la page :

    par avance Merci Pierre

  19. 9 avril 2012 | 20:26

    Hi Erwin,

    As you know, to sell on Amazon, an EAN or UPC is needed for creating listings.

    I am having great difficulty in sourcing these codes.

    There are some products being listed already on the site which are the same as my potential listing.

    What is the best way to start a listing?
    Should I use existing product ASIN’s which i convert using your
    asin-2-ean app?

    or should I create a new ASIN? but to do so would require ean/upc info which I do not have…

    please help !!!

  20. 15 avril 2012 | 12:05

    Hi Sonny, depending on the products you have, you should in priority use existing EAN/ASIN codes if any exists. If you cannot find them on your products (bar codes), then I know some commercial databases may be able to help you.

  21. Mick
    29 mai 2012 | 21:44

    Hi Erwin
    Very useful tool indeed – I have been using it for a while, saved me a lot of hassle – thank you very much!
    However I noticed it stopped working today – the products would show in an ad box properly but the EAN box remains empty…

    Kind regards

  22. 30 mai 2012 | 03:41

    Hi Mick, this tool is limited by the API quotas; if you hit them it should start working again on the following day.

  23. michele
    5 juillet 2012 | 11:41

    Hello, I tried your system but does not work. I put the code ASIN: B000VAHC46 (italian Amazon), but does not give me any code AEN. It ‘s my problem, or is the system that does not work? Thanks for the answer

  24. 5 juillet 2012 | 17:27

    Hello Michele, apparently this item has no EAN code for the moment, this is strange. However the ASIN code does work (you can see the banner link to the product).

  25. NewOne2010
    21 octobre 2012 | 09:37

    Hi Erwin,

    your converter for the ASIN to EAN doenst work for this time?
    Do you know how to repair it?

    kind regards

  26. 21 octobre 2012 | 12:57

    Hi, there are usage limits to the use of the Amazon API, so you should just wait and try again. It works right now.

  27. shabareesh
    24 octobre 2012 | 03:48

    I have a huge list of ASIN number , how do i convert it to EAN by using your tool. i see we need to enter one by one and then convert right? is there any way… any help would be appreciated ..

  28. 24 octobre 2012 | 09:25

    Hi shabareesh, please send me more information using the contact form. Thanks.

  29. 3 février 2013 | 19:58

    some asin numbers don’t run in your program, a sample ftom this USA Asin:

    What it’s the problem or mistake?.


  30. 4 février 2013 | 04:01

    Hi artur, some items may be listed on Amazon and obtain an ASIN code even though they were never assigned an EAN, which could explain the impossibility to convert to EAN that you observed.

  31. mace
    12 juillet 2013 | 21:16

    using your snippets in production use. very useful 🙂

  32. Tu
    24 octobre 2013 | 20:01

    Although I don’t use it a lot but I like this tool so much, it’s very useful
    what is the value of donation that you want?

  33. 14 novembre 2013 | 02:12

    Hi Erwin,
    I just came across your site and thought this may be a godsend. I need to batch convert a significant amount of ASIN to my database based on EAN and or UPC and or GTIN
    Even better if there is also a product attached

    Is there a way I can do this through you or your site? I have more than 1million ASIN in winzip txt format, I need to update my system to match this. Let me know if you can help

    I’m not a programmer so you can appreciate my pain with the recent Amazon changes.

    Best regards

  34. Madhan
    16 mai 2014 | 09:16

    Hi Erwin,

    Im using Erwinmayer for past 2 years. Im not able convert ASIN to EAN now.

    What happend? why conversion is not working? Please make it online.


  35. 16 mai 2014 | 09:33

    Hi Madhan,

    Thanks for reporting the issue. It should work again now.

  36. Michael
    27 avril 2015 | 15:12

    Hello Erwin,

    thanks for your wonderful tool it helped me a lot today and it will help me in the future

    Would it be poosible to use a txt-file with ean or asin (not both in same file) underneath each other

    for example

    and let it be converted, this would be great

    if you think it would be to much work, then i ask you friendly for both codes ean2asin and asin2ean, then i can try to use them on an excelfile

    if i have success, i would send you a copy

    Thanks in advance

    Michael Hoy

  37. 28 avril 2015 | 03:58

    Hi Michael,

    The easiest way is to replace all new lines (« \r\n ») by « , » or « ; » in Notepad++ or another text editor (or in Excel with a formula), then to paste the result and click « Convert » (it will be processed in batch mode).
    New lines are not directly supported as separators for now and will be stripped instead (I could change that or allow uploading an input file if there is more demand).

  38. David
    20 janvier 2016 | 16:20

    Hi Erwin,

    Thank you for sharing your tool it’s quick and precise.

    Best regards.

  39. Dung
    8 juin 2017 | 04:41

    It is very helpfully for my work.
    Thank you so much

  40. AzoresOne
    25 juillet 2017 | 19:34

    Hey, thanks for making and puttin’ this out. I use it nearly every day or so. Really makes me API 🙂

  41. 15 août 2018 | 15:46

    Hi Erwin,

    your tool ist super.


Laisser un commentaire