Bedil is a term from Maritime Southeast Asia which refers to various types of firearms and gunpowder weapons, from small pistols to large siege guns. The term bedil comes from wedil (or wediyal) and wediluppu (or wediyuppu) in the Tamil language. In their original form, these words refer to gunpowder blast and saltpeter, respectively. But after being absorbed into bedil in the Malay language, and in a number of other cultures in the archipelago, Tamil vocabulary is used to refer to all types of weapons that use gunpowder. The terms bedil and bedhil are known in Javanese and Balinese. In Sundanese the term is bedil, in Batak it is known as bodil, in Makasarese, badili, in Buginese, balili, in Dayak language, badil, in Tagalog, baril, in Bisayan, bádil, in Bikol languages, badil, and in Malay it is badel or bedil. 
 It is possible that gunpowder weapons were used in Java by Kublai Khan's Chinese forces who sought to invade Java in 1293.: 57  The Javanese gun used in the Majapahit era has also been referred to as bedil.
 The knowledge of making "true" firearms probably came to Southeast Asia in the late fifteenth century via the Islamic nations of West Asia, most probably the Arabs. The precise year of introduction is unknown, but it may be safely concluded to be no earlier than 1460.: 23  This resulted in the development of Java arquebus, which was also called a bedil. Portuguese influence on local weaponry after the capture of Malacca (1511), resulted in a new type of hybrid tradition matchlock firearm, the istinggar.: 53 
 Portuguese and Spanish invaders were unpleasantly surprised and even outgunned occasionally. Duarte Barbosa recorded the abundance of gunpowder-based weapons in Java ca. 1514. The Javanese were deemed as expert gun casters and good artillerymen. The weapon found there include one-pounder cannons, long muskets, spingarde (arquebus), schioppi (hand cannon), Greek fire, guns (cannons), and other fire-works.: 254 : 198 : 224  When Malacca fell to the Portuguese in 1511 A.D., breech-loading swivel guns (cetbang) and muzzle-loading swivel guns (lela and rentaka) were found and captured by the Portuguese.: 50  In the battle, the Malays were using cannons, matchlock guns, and "firing tubes".: 146–147  By the early 16th century, the Javanese already locally produced large guns, some of them still survived until the present day and are dubbed as "sacred cannon" or "holy cannon". These cannons varied between 180 and 260-pounders, weighing anywhere between 3–8 tons, length of them between 3–6 m (9.8–19.7 ft).
 Saltpeter harvesting was recorded by Dutch and German travelers as being common in even the smallest villages and was collected from the decomposition process of large dung hills specifically piled for the purpose. The Dutch punishment for possession of non-permitted gunpowder appears to have been amputation.: 180–181  Ownership and manufacture of gunpowder was later prohibited by the colonial Dutch occupiers. According to colonel McKenzie quoted in Sir Thomas Stamford Raffles', The History of Java (1817), the purest sulfur was supplied from a crater from a mountain near the straits of Bali.: 180–181 
 For firearms using flintlock mechanism, the inhabitants of the Nusantara archipelago are reliant on Western powers, as no local smith could produce such complex components.: cxli : 98 : 42 and 50  These flintlock firearms are completely different weapons and were known by another name, senapan or senapang, from the Dutch word snappaan.: 22  The gun-making areas of Nusantara could make these senapan, the barrel and the wooden part is made locally, but the mechanism is imported from the European traders.: 42 and 50 : 65 : 98 
 Below are weapons historically may be referred to as bedil. The full description should be found on their respective pages. It is sorted alphabetically.
 Locally-made pole gun-type hand cannon.
 Refer to 2 type of gunpowder weapon used by Majapahit.
 Swivel gun with tiller resembling lutung monkey's tail.
 A type of matchlock firearm, result of Portuguese influence to local weaponry after the capture of Malacca (1511).
 Java arquebus is an early long matchlock firearm from Java, used before the arrival of Iberian explorers.
 Lantaka is a type of bronze portable cannon or swivel gun, mounted on merchant vessels and warships in Maritime Southeast Asia.
 Lela is a type of cannon, similar but larger in dimension to rentaka.
 Formerly used for a kind of cannon that fires a shot weighing 6 pounds or more,: 93  now it is de facto Malaysian and Indonesian term for cannon.
 Also known as currency cannon, this firearm is produced mainly for trading and novelty item.
 Native name for blunderbuss.
 Native swivel gun, very popular among the Malays.
 A type of dragoon pistol.