The extremophilic species Juncus maritimus known for its medicinal virtues was collected in the Biskra region with the aim of its valorization. The volume size of polyphenols, flavonoids and condensed tannins was carried out by Folin‐Ciocalteu methods, aluminum trichloride and vanillin respectively. Polyphenols volume is 127.73±0.20 μg EAG/mg ES, flavonoids 16.42±0.42 μg EQ/mg ES and condensed tannins 10.10±0.35 μg EC/mg ES. The result of antioxidant activity tested by employing DPPH and ABTS methods reveal that the ethyl acetate extract had the highest activity in both tests. The result of in vitro anti‐inflammatory activity, by the BSA protein denaturation test, showed that the percentage inhibition of denaturation is proportional to the concentration of the extract. At a concentration of 5 mg/mL, the percentage inhibition of the extract was close to that an anti‐inflammatory drug Diclofenac with 82.03 and 80.23% respectively. Furthermore, molecular docking simulations revealed that Berberine was shown high binding affinity with the COX‐2 and PLA‐2 targets. Indeed, bioisosteric replacement is applied to discover novel analogs of Berberine. Finally, ADME‐Tox prediction demonstrated that this compound and its analogs are without Hepatotoxicity. The results might be selecting that Berberine and its analogs as active compound with anti‐inflammatory and antioxidant activities.