Vietnam Nutrition Facts Label Maker
Nutrition table for Vietnamese food labels under Circular 30/2026/TT-BYT from a recipe or per-100 g values: mandatory nutrients, %NRV, SVG / PDF label.
Result
Press “Run” to see the result.
Send per100 (values per 100 g / 100 ml: energy_kcal, protein_g, carbohydrate_g, sugars_g, fat_g, saturated_fat_g, sodium_mg) or a recipe ingredients [{name, grams, per100}] with the cooked yield_g. Energy is computed with 4 / 4 / 9 kcal/g when missing. You supply the nutrient values (lab results or calculation, as Decree 37/2026 Article 49 allows); no food database is bundled.
The result applies Circular 30/2026/TT-BYT (in force 10 July 2026, replacing 29/2023): the five mandatory nutrients, total sugars for sweetened drinks and foods (added_sugar), saturated fat for fried food (fried), the Appendix I thresholds below which a nutrient need not be declared, per 100 g / ml and per serving (serving_size), and %NRV with the Appendix II reference values (2,000 kcal, protein 50 g, carbohydrate 325 g, fat 56 g, saturated fat 20 g, sodium 2,000 mg). It also checks common "low / free" claims against the Codex conditions for reference.
format=svg or pdf returns a print-ready label in Be Vietnam Pro, in Vietnamese, English or both (lang). The circular sets no rounding rule; a stated convention is applied (kcal and mg whole, grams to 0.1 below 10 g).
Use this in your code
curl -X POST "https://apibox.io.vn/v1/vn-nutrition-label" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"per100":{"energy_kcal":463,"protein_g":7.3,"carbohydrate_g":64.7,"sugars_g":22.5,"fat_g":19.6,"saturated_fat_g":11.8,"sodium_mg":19.6},"serving_size":30,"added_sugar":true}'const res = await fetch('https://apibox.io.vn/v1/vn-nutrition-label', {
method: 'POST',
headers: {
Authorization: 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"per100": {
"energy_kcal": 463,
"protein_g": 7.3,
"carbohydrate_g": 64.7,
"sugars_g": 22.5,
"fat_g": 19.6,
"saturated_fat_g": 11.8,
"sodium_mg": 19.6
},
"serving_size": 30,
"added_sugar": true
}),
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"https://apibox.io.vn/v1/vn-nutrition-label",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={"per100": {"energy_kcal": 463, "protein_g": 7.3, "carbohydrate_g": 64.7, "sugars_g": 22.5, "fat_g": 19.6, "saturated_fat_g": 11.8, "sodium_mg": 19.6}, "serving_size": 30, "added_sugar": True},
timeout=30,
)
print(res.json())<?php
$ch = curl_init('https://apibox.io.vn/v1/vn-nutrition-label');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => ['Authorization: Bearer YOUR_API_KEY', 'Content-Type: application/json'],
CURLOPT_POSTFIELDS => '{"per100":{"energy_kcal":463,"protein_g":7.3,"carbohydrate_g":64.7,"sugars_g":22.5,"fat_g":19.6,"saturated_fat_g":11.8,"sodium_mg":19.6},"serving_size":30,"added_sugar":true}',
]);
$response = curl_exec($ch);
print_r(json_decode($response, true));API documentation → Get a free API key
FAQ
Which nutrients are mandatory?
Energy, protein, carbohydrate, fat and sodium; plus total sugars for drinks and foods with added sugar and saturated fat for fried foods (Article 5).
Is %NRV mandatory?
No, it is optional; when shown it must use the reference values of Appendix II (Article 6.2).
Which foods are exempt?
Among others single-ingredient foods, bottled and mineral water, salt, vinegar, plain tea and coffee, food supplements, alcoholic drinks and food from small retail producers (Article 1.2).