Amyloid fibrils formed by a variety of peptides are biological markers of different human diseases, such as Alzheimer's disease, Parkinson's disease, and type II diabetes, and are structural constituents of bacterial biofilms. Novel fluorescent probes offering improved sensitivity or specificity toward that diversity of amyloid fibrils or providing alternative spectral windows are needed to improve the detection or the identification of amyloid structures. One potential source for such new probes is offered by molecules known to interact with fibrils, such as the inhibitors of amyloid aggregation found in drug discovery projects. Here we show the feasibility of the approach by designing, synthesizing, and testing several pyrene-based fluorescent derivatives of a previously discovered inhibitor of the aggregation of the Aβ1-42 peptide. All the derivatives tested retain the interaction with the amyloid architecture and allow its staining. The most soluble derivative, N-acetyl-2-(2-methyl-4-oxo-5,6,7,8-tetrahydro-4H-benzo[4,5]thieno[2,3-d][1,3]oxazin-7-yl)-N-(pyren-1-ylmethyl)acetamide (compound 1D), stains similarly well amyloid fibrils formed by Aβ1-42, α-synuclein, or amylin, provides a sensitivity only slightly lower than that of thioflavin T, displays a large Stokes shift, allows efficient excitation in the UV spectral region, and is not cytotoxic. Compound 1D can also stain amyloid fibrils formed by staphylococcal peptides present in biofilm matrices and can be used to distinguish, by direct staining, Staphylococcus aureus biofilms containing amyloid-forming phenol-soluble modulins from those lacking them. Graphical abstract ᅟ.